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

an error caused the server node to exit; "CRC hasn't been calculated"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.12
    • 2.15
    • cache
    • Fixed incorrect assertion on CRC calculation when disk page compression is enabled
    • Docs Required, Release Notes Required

    Description

      an error caused the server node to exit:

      2022-10-04 20:00:48.828 [ERROR][db-checkpoint-thread-#220][] Critical system error detected. Will be handled accordingly to configured handler [hnd=StopNodeOrHaltFailure
      Handler [tryStop=false, timeout=0, super=AbstractFailureHandler [ignoredFailureTypes=UnmodifiableSet [SYSTEM_WORKER_BLOCKED, SYSTEM_CRITICAL_OPERATION_TIMEOUT]]], failur
      eCtx=FailureContext [type=CRITICAL_ERROR, err=class o.a.i.IgniteCheckedException: Compound exception for CountDownFuture.]]
      org.apache.ignite.IgniteCheckedException: Compound exception for CountDownFuture.
              at org.apache.ignite.internal.util.future.CountDownFuture.addError(CountDownFuture.java:72) ~[ignite-core-2.12.0-p6.jar:2.12.0-p6]
              at org.apache.ignite.internal.util.future.CountDownFuture.onDone(CountDownFuture.java:46) ~[ignite-core-2.12.0-p6.jar:2.12.0-p6]
              at org.apache.ignite.internal.util.future.CountDownFuture.onDone(CountDownFuture.java:28) ~[ignite-core-2.12.0-p6.jar:2.12.0-p6]
              at org.apache.ignite.internal.util.future.GridFutureAdapter.onDone(GridFutureAdapter.java:478) ~[ignite-core-2.12.0-p6.jar:2.12.0-p6]
              at org.apache.ignite.internal.processors.cache.persistence.checkpoint.CheckpointPagesWriter.run(CheckpointPagesWriter.java:166) ~[ignite-core-2.12.0-p6.jar:2.12.
      0-p6]
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[?:?]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[?:?]
              at java.lang.Thread.run(Thread.java:829) [?:?]
              Suppressed: java.lang.AssertionError: CRC hasn't been calculated, crc=0
                      at org.apache.ignite.internal.processors.cache.persistence.file.FilePageStore.write(FilePageStore.java:737) ~[ignite-core-2.12.0-p6.jar:2.12.0-p6]
                      at org.apache.ignite.internal.processors.cache.persistence.pagemem.PageReadWriteManagerImpl.write(PageReadWriteManagerImpl.java:116) ~[ignite-core-2.12.0
      -p6.jar:2.12.0-p6]
                      at org.apache.ignite.internal.processors.cache.persistence.file.FilePageStoreManager.write(FilePageStoreManager.java:637) ~[ignite-core-2.12.0-p6.jar:2.1
      2.0-p6]
                      at org.apache.ignite.internal.processors.cache.persistence.checkpoint.CheckpointManager.lambda$new$0(CheckpointManager.java:175) ~[ignite-core-2.12.0-p6.
      jar:2.12.0-p6]
                      at org.apache.ignite.internal.processors.cache.persistence.checkpoint.CheckpointPagesWriter$1.writePage(CheckpointPagesWriter.java:266) ~[ignite-core-2.1
      2.0-p6.jar:2.12.0-p6]
                      at org.apache.ignite.internal.processors.cache.persistence.pagemem.PageMemoryImpl.copyPageForCheckpoint(PageMemoryImpl.java:1343) ~[ignite-core-2.12.0-p6
      .jar:2.12.0-p6]
                      at org.apache.ignite.internal.processors.cache.persistence.pagemem.PageMemoryImpl.checkpointWritePage(PageMemoryImpl.java:1250) ~[ignite-core-2.12.0-p6.j
      ar:2.12.0-p6]
                      at org.apache.ignite.internal.processors.cache.persistence.checkpoint.CheckpointPagesWriter.writePages(CheckpointPagesWriter.java:207) ~[ignite-core-2.12
      .0-p6.jar:2.12.0-p6]
                      at org.apache.ignite.internal.processors.cache.persistence.checkpoint.CheckpointPagesWriter.run(CheckpointPagesWriter.java:151) ~[ignite-core-2.12.0-p6.j
      ar:2.12.0-p6]
                      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[?:?]
                      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[?:?]
                      at java.lang.Thread.run(Thread.java:829) [?:?] 

      node configured with compression:

      <property name="diskPageCompression" value="SNAPPY"/>

      the node exited during the snapshot and caused the snapshot to stop:

      20221005_092448 ignite.log:2022-10-05 02:58:50.787 [ERROR][disco-event-worker-#190][org.apache.ignite.internal.processors.cache.p
      ersistence.snapshot.AbstractSnapshotFutureTask] Snapshot task has accepted exception to stop at org.apache.ignite.internal.processors.cache.persistence.snapshot.IgniteSnapshotManager.lambda$
      start0$6(IgniteSnapshotManager.java:472) ~[ignite-core-2.12.0-p6.jar:2.12.0-p6] 

      Attachments

        Issue Links

          Activity

            People

              nizhikov Nikolay Izhikov
              brat_kuzma Denis Kuznetsov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m