[
https://issues.apache.org/jira/browse/IGNITE-12459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16999112#comment-16999112
]
Sergey Chugunov commented on IGNITE-12459:
------------------------------------------
[~akalashnikov],
Change looks good to me, as we have all green tests for it, lets merge it to
master branch.
Thank you!
> 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
> Fix For: 2.9
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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)