You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Thai Le <ln...@gmail.com> on 2022/08/08 16:49:47 UTC

AMQ142007: Can not find record 0 during compact replay

Hello,

We are running 1 master, 1 slave of artemis in our deployment and last week
we had an incident where the master cant start. Here is the log i got from
the master:
2022-08-04 15:04:07,018 INFO [org.apache.activemq.artemis] AMQ241001: HTTP
Server started at http://0.0.0.0:8161 2022-08-04 15:04:07,019 INFO
[org.apache.activemq.artemis] AMQ241002: Artemis Jolokia REST API available
at http://0.0.0.0:8161/stack/qa/artemis-master/console/jolokia 2022-08-04
15:04:07,019 INFO [org.apache.activemq.artemis] AMQ241004: Artemis Console
available at http://0.0.0.0:8161/stack/qa/artemis-master/console 2022-08-04
15:04:08,302 WARN [org.apache.activemq.artemis.core.client] AMQ212037:
Connection failure to
activemq-artemis-slave-0.activemq-artemis-slave.ncp-stack-qa.svc.cluster.local/
10.0.59.25:61616 has been detected: AMQ219015: The connection was
disconnected because of server shutdown [code=DISCONNECTED] 2022-08-04
15:04:08,303 WARN [org.apache.activemq.artemis.core.client] AMQ212037:
Connection failure to
activemq-artemis-slave-0.activemq-artemis-slave.ncp-stack-qa.svc.cluster.local/
10.0.59.25:61616 has been detected: AMQ219015: The connection was
disconnected because of server shutdown [code=DISCONNECTED] 2022-08-04
15:04:08,473 WARN [org.apache.activemq.artemis.core.client] AMQ212004:
Failed to connect to server. 2022-08-04 15:04:08,474 WARN
[org.apache.activemq.artemis.core.client] AMQ212028: error starting server
locator: ActiveMQIllegalStateException[errorType=ILLEGAL_STATE
message=null] at
org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl.initialize(ServerLocatorImpl.java:257)
[artemis-core-client-2.19.1.jar:2.19.1] at
org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl.start(ServerLocatorImpl.java:482)
[artemis-core-client-2.19.1.jar:2.19.1] at
org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl$StaticConnector$1.connectionFailed(ServerLocatorImpl.java:1703)
[artemis-core-client-2.19.1.jar:2.19.1] at
org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl$StaticConnector$1.connectionFailed(ServerLocatorImpl.java:1715)
[artemis-core-client-2.19.1.jar:2.19.1] at
org.apache.activemq.artemis.spi.core.protocol.AbstractRemotingConnection.callFailureListeners(AbstractRemotingConnection.java:78)
[artemis-core-client-2.19.1.jar:2.19.1] at
org.apache.activemq.artemis.core.protocol.core.impl.RemotingConnectionImpl.fail(RemotingConnectionImpl.java:222)
[artemis-core-client-2.19.1.jar:2.19.1] at
org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl$CloseRunnable.run(ClientSessionFactoryImpl.java:1091)
[artemis-core-client-2.19.1.jar:2.19.1] at
org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:42)
[artemis-commons-2.19.1.jar:2.19.1] at
org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:31)
[artemis-commons-2.19.1.jar:2.19.1] at
org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks(ProcessorBase.java:65)
[artemis-commons-2.19.1.jar:2.19.1] at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[rt.jar:1.8.0_171] at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[rt.jar:1.8.0_171] at
org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:118)
[artemis-commons-2.19.1.jar:2.19.1] 2022-08-04 15:04:26,073 WARN
[org.apache.activemq.artemis.journal] AMQ142007: Can not find record 0
during compact replay 2022-08-04 15:04:26,073 WARN
[org.apache.activemq.artemis.journal] AMQ142007: Can not find record 0
during compact replay 2022-08-04 15:04:26,074 WARN
[org.apache.activemq.artemis.journal] AMQ142007: Can not find record 0
during compact replay 2022-08-04 15:04:26,074 WARN
[org.apache.activemq.artemis.journal] AMQ142007: Can not find record 0
during compact replay 2022-08-04 15:04:26,074 WARN
[org.apache.activemq.artemis.journal] AMQ142007: Can not find record 0
during compact replay 2022-08-04 15:04:26,074 WARN
[org.apache.activemq.artemis.journal] AMQ142007: Can not find record 0
during compact replay 2022-08-04 15:04:26,074 WARN
[org.apache.activemq.artemis.journal] AMQ142007: Can not find record 0
during compact replay 2022-08-04 15:04:26,074 WARN
[org.apache.activemq.artemis.journal] AMQ142007: Can not find record 0
during compact replay 2022-08-04 15:04:26,074 WARN
[org.apache.activemq.artemis.journal] AMQ142007: Can not find record 0
during compact replay 2022-08-04 15:04:26,074 WARN
[org.apache.activemq.artemis.journal] AMQ142007: Can not find record 0
during compact replay 2022-08-04 15:04:26,075 WARN
[org.apache.activemq.artemis.journal] AMQ142007: Can not find record 0
during compact replay 2022-08-04 15:04:26,075 WARN
[org.apache.activemq.artemis.journal] AMQ142007: Can not find record 0
during compact replay 2022-08-04 15:04:26,075 WARN
[org.apache.activemq.artemis.journal] AMQ142007: Can not find record 0
during compact replay 2022-08-04 15:04:26,075 WARN
[org.apache.activemq.artemis.journal] AMQ142007: Can not find record 0
during compact replay 2022-08-04 15:04:26,075 WARN
[org.apache.activemq.artemis.journal] AMQ142007: Can not find record 0 du

I am not sure what these warning mean. What we did is restart both the
slave and the master and we dont see the error again. Although restarting
seems to solve the problem for the moment, I am not sure if it has any side
effects (potential lost of messages). Has anyone experienced this problem
or has some info regarding this error/warning?

Thai Le