You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Ivan Pavlukhin (JIRA)" <ji...@apache.org> on 2019/02/21 14:04:00 UTC

[jira] [Commented] (IGNITE-10603) MVCC: Inconsistent partition state after recovery.

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

Ivan Pavlukhin commented on IGNITE-10603:
-----------------------------------------

It was found that test to pass requires writing partition state record to WAL upon first write to particular partition. MVCC partition counters update flow differs from one used with other cache modes and such record is not written. But that logic is going to be reworked in IGNITE-10078.

Also it seems that partition sizes (MVCC) have improper values after recovery. It should be checked as well.

> MVCC: Inconsistent partition state after recovery.
> --------------------------------------------------
>
>                 Key: IGNITE-10603
>                 URL: https://issues.apache.org/jira/browse/IGNITE-10603
>             Project: Ignite
>          Issue Type: Bug
>          Components: mvcc
>            Reporter: Andrew Mashenkov
>            Assignee: Ivan Pavlukhin
>            Priority: Major
>              Labels: WAL, mvcc_stabilization_stage_1
>             Fix For: 2.8
>
>
> IgnitePdsPartitionsStateRecoveryTest.testPartitionsStateConsistencyAfterRecoveryNoCheckpoints() fails in mvcc mode.
>  
> {noformat}
> java.lang.AssertionError: Node restored moving partitions after join to topology.
> at org.junit.Assert.fail(Assert.java:88)
> at org.junit.Assert.assertTrue(Assert.java:41)
> at org.junit.Assert.assertFalse(Assert.java:64)
> at org.apache.ignite.internal.processors.cache.persistence.IgnitePdsPartitionsStateRecoveryTest.testPartitionsStateConsistencyAfterRecoveryNoCheckpoints(IgnitePdsPartitionsStateRecoveryTest.java:165)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at junit.framework.TestCase.runTest(TestCase.java:176)
> at org.apache.ignite.testframework.junits.GridAbstractTest.access$001(GridAbstractTest.java:149)
> at org.apache.ignite.testframework.junits.GridAbstractTest$6.evaluate(GridAbstractTest.java:2106)
> at org.apache.ignite.testframework.junits.GridAbstractTest$7.run(GridAbstractTest.java:2123)
> at java.lang.Thread.run(Thread.java:748){noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)