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

Standalone WAL iterator fails to handle delete WAL data records

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.1
    • 2.4
    • persistence
    • None

    Description

      This failure occurds during unwrapping value, and this make impossible to unwrap value and handle any values

      2017-10-03 19:21:29,629][ERROR][test-runner-#1%reader.IgniteWalReaderTest%][root] Unable to convert value [null]
      java.lang.NullPointerException
      	at org.apache.ignite.internal.pagemem.wal.record.UnwrapDataEntry.unwrappedValue(UnwrapDataEntry.java:110)
      	at org.apache.ignite.internal.processors.cache.persistence.db.wal.reader.IgniteWalReaderTest.iterateAndCountDataRecord(IgniteWalReaderTest.java:970)
      	at org.apache.ignite.internal.processors.cache.persistence.db.wal.reader.IgniteWalReaderTest.scanIterateAndCount(IgniteWalReaderTest.java:551)
      	at org.apache.ignite.internal.processors.cache.persistence.db.wal.reader.IgniteWalReaderTest.testRemoveOperationPresentedForDataEntry(IgniteWalReaderTest.java:863)
      	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.runTestInternal(GridAbstractTest.java:2000)
      	at org.apache.ignite.testframework.junits.GridAbstractTest.access$000(GridAbstractTest.java:132)
      	at org.apache.ignite.testframework.junits.GridAbstractTest$5.run(GridAbstractTest.java:1915)
      	at java.lang.Thread.run(Thread.java:748)
      

      WAL log content causes failure

      {CREATE for 1, tx=GridCacheVersion [topVer=118527801, order=1507047798537, nodeOrder=1], }
      {UPDATE for 2, tx=GridCacheVersion [topVer=118527801, order=1507047798537, nodeOrder=1], }
      {CREATE for 3, tx=GridCacheVersion [topVer=118527801, order=1507047798537, nodeOrder=1], }
      {UPDATE for 4, tx=GridCacheVersion [topVer=118527801, order=1507047798537, nodeOrder=1], }
      {DELETE for 5, tx=GridCacheVersion [topVer=118527801, order=1507047798537, nodeOrder=1], }
      {UPDATE for 6, tx=GridCacheVersion [topVer=118527801, order=1507047798537, nodeOrder=1], }
      {CREATE for 7, tx=GridCacheVersion [topVer=118527801, order=1507047798537, nodeOrder=1], }
      {UPDATE for 8, tx=GridCacheVersion [topVer=118527801, order=1507047798537, nodeOrder=1], }
      {CREATE for 9, tx=GridCacheVersion [topVer=118527801, order=1507047798537, nodeOrder=1], }
      

      Attachments

        Issue Links

          Activity

            People

              dpavlov Dmitry Pavlov
              dpavlov Dmitry Pavlov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: