[jira] [Created] (IGNITE-12459) Searching checkpoint record in WAL doesn't work with segment compaction

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-12459) Searching checkpoint record in WAL doesn't work with segment compaction

Anton Vinogradov (Jira)
Anton Kalashnikov created IGNITE-12459:
------------------------------------------

             Summary: Searching checkpoint record in WAL doesn't work with segment compaction
                 Key: IGNITE-12459
                 URL: https://issues.apache.org/jira/browse/IGNITE-12459
             Project: Ignite
          Issue Type: Bug
            Reporter: Anton Kalashnikov
            Assignee: Anton Kalashnikov


During iteration over WAL we have two invariants about result(Tuple<WALPointer, WALRecord>):
* WALPointer equal to WALRecord.position() when segment is uncompacted
* WALPointer not equal to WALRecord.position() when the segment is compacted
Unfortunately, the second variant is broken in FileWriteAheadLogManager#read(WALPointer ptr)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)