[ 
https://issues.apache.org/jira/browse/IGNITE-14821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17356478#comment-17356478
 ] 

Ignite TC Bot commented on IGNITE-14821:
----------------------------------------

{panel:title=Branch: [pull/9146/head] Base: [master] : No blockers 
found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
{panel:title=Branch: [pull/9146/head] Base: [master] : New Tests 
(2)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}
{color:#00008b}PDS 2{color} [[tests 
2|https://ci.ignite.apache.org/viewLog.html?buildId=6033540]]
* {color:#013220}IgnitePdsTestSuite2: 
HistoricalRebalanceTwoPartsInDifferentCheckpointsTest.testOlderPartitionUpdateFirst
 - PASSED{color}
* {color:#013220}IgnitePdsTestSuite2: 
HistoricalRebalanceTwoPartsInDifferentCheckpointsTest.testYoungerPartitionUpdateFirst
 - PASSED{color}

{panel}
[TeamCity *--> Run :: All* 
Results|https://ci.ignite.apache.org/viewLog.html?buildId=6033570&buildTypeId=IgniteTests24Java8_RunAll]

> AssertionError: Historical iterator tries to iterate WAL out of reservation
> ---------------------------------------------------------------------------
>
>                 Key: IGNITE-14821
>                 URL: https://issues.apache.org/jira/browse/IGNITE-14821
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Vladislav Pyatkov
>            Assignee: Vladislav Pyatkov
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> A reason of the issue is incorrect comparison WAL pointer, that leads to 
> choose not quite the last pointer for reservation before rebalance. The code 
> selected the earliest WAL segment, but not the last pointer in it.
> Assuming assertion error in description:
> {code}Historical iterator tries to iterate WAL out of reservation 
> [cache=SYSTEM_CACHEGROUP_LONGKEYS, reservedPointer=FileWALPointer [idx=10, 
> fileOff=448674503, len=104925], historicalPointer=FileWALPointer [idx=10, 
> fileOff=442844723, len=104925]]{code}
> reservedPointer is chosen incorrect, but corresponds to the valid segment 
> {{idx=10}} (the same as in historicalPointer).
> A valid comparison of WAL pointers solves this issue. Segment number and 
> segment offset participate in it together (look at the 
> FileWalPointer#comapreTo method).



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

Reply via email to