[ https://issues.apache.org/jira/browse/IGNITE-8503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16520413#comment-16520413 ]
ASF GitHub Bot commented on IGNITE-8503: ---------------------------------------- Github user asfgit closed the pull request at: https://github.com/apache/ignite/pull/4141 > Fix wrong GridCacheMapEntry startVersion initialization. > -------------------------------------------------------- > > Key: IGNITE-8503 > URL: https://issues.apache.org/jira/browse/IGNITE-8503 > Project: Ignite > Issue Type: Improvement > Components: cache, persistence > Reporter: Dmitriy Pavlov > Assignee: Andrew Mashenkov > Priority: Major > Labels: MakeTeamcityGreenAgain, Muted_test, tck > Fix For: 2.6 > > > GridCacheMapEntry initialize startVersion in wrong way. > This leads to IgnitePdsWithTtlTest.testTtlIsAppliedAfterRestart failure and > reason is "Entry which should be expired by TTL policy is available after > grid restart." > > Test was added during https://issues.apache.org/jira/browse/IGNITE-5874 > development. > This test restarts grid and checks all entries are not present in grid. > But with high possiblity one from 7000 entries to be expired is resurrected > instead and returned by cache get. > {noformat} > After timeout {{ > >>> > >>> Cache memory stats [igniteInstanceName=db.IgnitePdsWithTtlTest0, > >>> cache=expirableCache] > >>> Cache size: 0 > >>> Cache partition topology stats > >>> [igniteInstanceName=db.IgnitePdsWithTtlTest0, grp=group1] > >>> > >>> Cache event manager memory stats > >>> [igniteInstanceName=db.IgnitePdsWithTtlTest0, cache=expirableCache, > >>> stats=N/A] > >>> > >>> Query manager memory stats [igniteInstanceName=db.IgnitePdsWithTtlTest0, > >>> cache=expirableCache] > >>> threadsSize: 0 > >>> futsSize: 0 > >>> > >>> TTL processor memory stats [igniteInstanceName=db.IgnitePdsWithTtlTest0, > >>> cache=expirableCache] > >>> pendingEntriesSize: 0 > }} After timeout > {noformat} > [https://ci.ignite.apache.org/project.html?projectId=IgniteTests24Java8&testNameId=5798755758125626876&tab=testDetails&branch_IgniteTests24Java8=%3Cdefault%3E] -- This message was sent by Atlassian JIRA (v7.6.3#76005)