-
Bug
-
Resolution: Done
-
Major
-
AMQ 7.8.2.GA
-
False
-
False
-
ARTEMIS-3513 ARTEMIS-3521
-
Workaround Exists
-
-
-
OpenWire clients experience duplicate ID cache issues
2021-09-30 03:52:32,135 WARN [org.apache.activemq.artemis.core.server] AMQ222055: Error on deleting duplicate cache: java.lang.IllegalStateException: Cannot find add info 23337904206 on compactor or current re
cords
at org.apache.activemq.artemis.core.journal.impl.JournalImpl.checkKnownRecordID(JournalImpl.java:1210) [artemis-journal-2.16.0-PATCH-3142.jar:2.16.0-PATCH-3142]
at org.apache.activemq.artemis.core.journal.impl.JournalImpl.appendDeleteRecord(JournalImpl.java:1042) [artemis-journal-2.16.0-PATCH-3142.jar:2.16.0-PATCH-3142]
at org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.deleteDuplicateID(AbstractJournalStorageManager.java:482) [artemis-server-2.16.0-PATCH-3142.jar:2.16.0-PATCH-31
42]
at org.apache.activemq.artemis.core.postoffice.impl.DuplicateIDCacheImpl.addToCacheInMemory(DuplicateIDCacheImpl.java:265) [artemis-server-2.16.0-PATCH-3142.jar:2.16.0-PATCH-3142]
at org.apache.activemq.artemis.core.postoffice.impl.DuplicateIDCacheImpl.access$000(DuplicateIDCacheImpl.java:41) [artemis-server-2.16.0-PATCH-3142.jar:2.16.0-PATCH-3142]
at org.apache.activemq.artemis.core.postoffice.impl.DuplicateIDCacheImpl$AddDuplicateIDOperation.process(DuplicateIDCacheImpl.java:347) [artemis-server-2.16.0-PATCH-3142.jar:2.16.0-PATCH-3142]
at org.apache.activemq.artemis.core.postoffice.impl.DuplicateIDCacheImpl$AddDuplicateIDOperation.afterCommit(DuplicateIDCacheImpl.java:356) [artemis-server-2.16.0-PATCH-3142.jar:2.16.0-PATCH-3142]
at org.apache.activemq.artemis.core.transaction.impl.TransactionImpl.afterCommit(TransactionImpl.java:581) [artemis-server-2.16.0-PATCH-3142.jar:2.16.0-PATCH-3142]
at org.apache.activemq.artemis.core.transaction.impl.TransactionImpl.access$100(TransactionImpl.java:40) [artemis-server-2.16.0-PATCH-3142.jar:2.16.0-PATCH-3142]
at org.apache.activemq.artemis.core.transaction.impl.TransactionImpl$3.done(TransactionImpl.java:339) [artemis-server-2.16.0-PATCH-3142.jar:2.16.0-PATCH-3142]
at org.apache.activemq.artemis.core.persistence.impl.journal.OperationContextImpl$1.run(OperationContextImpl.java:279) [artemis-server-2.16.0-PATCH-3142.jar:2.16.0-PATCH-3142]
at org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:42) [artemis-commons-2.16.0-PATCH-3142.jar:2.16.0-PATCH-3142]
at org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:31) [artemis-commons-2.16.0-PATCH-3142.jar:2.16.0-PATCH-3142]
at org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks(ProcessorBase.java:65) [artemis-commons-2.16.0-PATCH-3142.jar:2.16.0-PATCH-3142]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [rt.jar:1.8.0_302]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [rt.jar:1.8.0_302]
at org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:118) [artemis-commons-2.16.0-PATCH-3142.jar:2.16.0-PATCH-3142]
2021-09-30 03:52:32,136 ERROR [org.apache.activemq.artemis.journal] AMQ144003: Error compacting: java.lang.Exception: Error on reading compacting for JournalFileImpl: (activemq-data-5823991.amq id = 5823991, recordID = 5823991)
at org.apache.activemq.artemis.core.journal.impl.JournalImpl.compact(JournalImpl.java:1758) [artemis-journal-2.16.0-PATCH-3142.jar:2.16.0-PATCH-3142]
at org.apache.activemq.artemis.core.journal.impl.JournalImpl$14.run(JournalImpl.java:2415) [artemis-journal-2.16.0-PATCH-3142.jar:2.16.0-PATCH-3142]
at org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:42) [artemis-commons-2.16.0-PATCH-3142.jar:2.16.0-PATCH-3142]
at org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:31) [artemis-commons-2.16.0-PATCH-3142.jar:2.16.0-PATCH-3142]
at org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks(ProcessorBase.java:65) [artemis-commons-2.16.0-PATCH-3142.jar:2.16.0-PATCH-3142]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [rt.jar:1.8.0_302]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [rt.jar:1.8.0_302]
at org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:118) [artemis-commons-2.16.0-PATCH-3142.jar:2.16.0-PATCH-3142]
Caused by: java.lang.Exception: Inconsistency during compacting: RollbackRecord ID = 23345005416 for an already rolled back transaction during compacting
at org.apache.activemq.artemis.core.journal.impl.JournalImpl.readJournalFile(JournalImpl.java:846) [artemis-journal-2.16.0-PATCH-3142.jar:2.16.0-PATCH-3142]
at org.apache.activemq.artemis.core.journal.impl.JournalImpl.compact(JournalImpl.java:1755) [artemis-journal-2.16.0-PATCH-3142.jar:2.16.0-PATCH-3142]
... 7 more
Caused by: java.lang.IllegalStateException: Inconsistency during compacting: RollbackRecord ID = 23345005416 for an already rolled back transaction during compacting
at org.apache.activemq.artemis.core.journal.impl.JournalCompactor.onReadRollbackRecord(JournalCompactor.java:416) [artemis-journal-2.16.0-PATCH-3142.jar:2.16.0-PATCH-3142]
at org.apache.activemq.artemis.core.journal.impl.JournalImpl.readJournalFile(JournalImpl.java:819) [artemis-journal-2.16.0-PATCH-3142.jar:2.16.0-PATCH-3142]
... 8 more
- is cloned by
-
ENTMQBR-5573 [LTS] Openwire will break duplicateID interaction with compacting when using Transactions
- Closed