[ 
https://issues.apache.org/jira/browse/IGNITE-12459?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Anton Kalashnikov updated IGNITE-12459:
---------------------------------------
    Description: 
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)

  was:
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)


> 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
>            Priority: Major
>
> 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)

Reply via email to