[jira] [Created] (IGNITE-13812) CheckpointEntry is read from WAL right after its creation.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-13812) CheckpointEntry is read from WAL right after its creation.

Anton Vinogradov (Jira)
Ivan Bessonov created IGNITE-13812:
--------------------------------------

             Summary: CheckpointEntry is read from WAL right after its creation.
                 Key: IGNITE-13812
                 URL: https://issues.apache.org/jira/browse/IGNITE-13812
             Project: Ignite
          Issue Type: Bug
            Reporter: Ivan Bessonov
            Assignee: Ivan Bessonov


{noformat}
[2020-07-31 16:33:15,545][INFO ][pitr-ctx-exec-#304][WalStateManager] WAL logging disabled
[2020-07-31 16:33:15,545][INFO ][db-checkpoint-thread-#152][GridCacheDatabaseSharedManager] Checkpoint finished [cpId=e1a57b48-1610-4280-a3e2-4d808a5f0343, pages=64, markPos=FileWALPointer [idx=5, fileOff=45749881, len=186791], walSegmentsCleared=0, walSegmentsCovered=[], markDuration=49ms, pagesWrite=0ms, fsync=5ms, total=79ms]
[2020-07-31 16:33:15,546][INFO ][pitr-ctx-exec-#304][GridRecoveryProcessor] Start apply segment idx=1
[2020-07-31 16:33:16,012][INFO ][pitr-ctx-exec-#304][GridRecoveryProcessor] Segment idx=1 applied
[2020-07-31 16:33:16,373][INFO ][pitr-ctx-exec-#304][GridRecoveryProcessor] Segment idx=2 applied
[2020-07-31 16:33:16,553][ERROR][db-checkpoint-thread-#152][root] Critical system error detected. Will be handled accordingly to configured handler [hnd=StopNodeOrHaltFailureHandler [tryStop=false, timeout=0, super=AbstractFailureHandler [ignoredFailureTypes=UnmodifiableSet [SYSTEM_WORKER_BLOCKED, SYSTEM_CRITICAL_OPERATION_TIMEOUT]]], failureCtx=FailureContext [type=CRITICAL_ERROR, err=java.lang.ClassCastException: class o.a.i.i.pagemem.wal.record.MemoryRecoveryRecord cannot be cast to class o.a.i.i.pagemem.wal.record.CheckpointRecord (o.a.i.i.pagemem.wal.record.MemoryRecoveryRecord and o.a.i.i.pagemem.wal.record.CheckpointRecord are in unnamed module of loader 'app')]]
java.lang.ClassCastException: class org.apache.ignite.internal.pagemem.wal.record.MemoryRecoveryRecord cannot be cast to class org.apache.ignite.internal.pagemem.wal.record.CheckpointRecord (org.apache.ignite.internal.pagemem.wal.record.MemoryRecoveryRecord and org.apache.ignite.internal.pagemem.wal.record.CheckpointRecord are in unnamed module of loader 'app')
        at org.apache.ignite.internal.processors.cache.persistence.checkpoint.CheckpointEntry$GroupStateLazyStore.initIfNeeded(CheckpointEntry.java:353)
        at org.apache.ignite.internal.processors.cache.persistence.checkpoint.CheckpointEntry$GroupStateLazyStore.access$300(CheckpointEntry.java:245)
        at org.apache.ignite.internal.processors.cache.persistence.checkpoint.CheckpointEntry.initIfNeeded(CheckpointEntry.java:124)
        at org.apache.ignite.internal.processors.cache.persistence.checkpoint.CheckpointEntry.groupState(CheckpointEntry.java:106)
        at org.apache.ignite.internal.processors.cache.persistence.checkpoint.CheckpointHistory.addCpToEarliestCpMap(CheckpointHistory.java:246)
        at org.apache.ignite.internal.processors.cache.persistence.checkpoint.CheckpointHistory.addCheckpoint(CheckpointHistory.java:179)
        at org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager$Checkpointer.markCheckpointBegin(GridCacheDatabaseSharedManager.java:4221)
        at org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager$Checkpointer.doCheckpoint(GridCacheDatabaseSharedManager.java:3732)
        at org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager$Checkpointer.body(GridCacheDatabaseSharedManager.java:3621)
        at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:119)
        at java.base/java.lang.Thread.run(Thread.java:834){noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)