Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-20974

It seems a row has been skipped by the removal operation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None
    • Docs Required, Release Notes Required

    Description

      Motivation

      This issue has happened in TC, but it is very rare, and it is related to a multi-node cluster only (TC log was attached). Look at the exception for ItTxDistributedTestThreeNodesThreeReplicas.testComplexImplicit:

      org.opentest4j.AssertionFailedError: expected: <null> but was: <org.apache.ignite.internal.table.TableRow@aa3624f>
        at app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
        at app//org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
        at app//org.junit.jupiter.api.AssertNull.failNotNull(AssertNull.java:50)
        at app//org.junit.jupiter.api.AssertNull.assertNull(AssertNull.java:35)
        at app//org.junit.jupiter.api.AssertNull.assertNull(AssertNull.java:30)
        at app//org.junit.jupiter.api.Assertions.assertNull(Assertions.java:276)
        at app//org.apache.ignite.internal.table.TxAbstractTest.doTestComplex(TxAbstractTest.java:1450)
        at app//org.apache.ignite.internal.table.TxAbstractTest.testComplexImplicit(TxAbstractTest.java:1354)
        at java.base@11.0.17/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base@11.0.17/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base@11.0.17/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base@11.0.17/java.lang.reflect.Method.invoke(Method.java:566)
      

      The assertion failed exception is here (in line 6):

      TxAbstractTest.java
      view.deleteAll(tx, keys);
      
      for (Tuple key : keys) {
          Tuple entry = view.get(tx, key);
      
          assertNull(entry);
      }
      

      Implementation notes

      Check that the result of the deleteAll operation is an empty collection.

      Attachments

        Activity

          People

            v.pyatkov Vladislav Pyatkov
            v.pyatkov Vladislav Pyatkov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: