[ 
https://issues.apache.org/jira/browse/ARTEMIS-2709?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17098293#comment-17098293
 ] 

Atri Sharma commented on ARTEMIS-2709:
--------------------------------------

Ok the issue is that the messages are not getting recovered due to 
ScaleDownHandler not being able to create a new session (it gets rejected). The 
reason is that the server is not started till that point.


{code:java}
[AMQ229000: Activation for server 
ActiveMQServerImpl::serverUUID=1f03d0d7-8d13-11ea-8dae-f018980ae810] 
13:26:02,298 ERROR [org.apache.activemq.artemis.core.server] AMQ224000: Failure 
in initialisation: 
ActiveMQSessionCreationException[errorType=SESSION_CREATION_REJECTED 
message=AMQ229034: Server not started]
        at 
org.apache.activemq.artemis.core.protocol.core.impl.ChannelImpl.sendBlocking(ChannelImpl.java:467)
 [:]
        at 
org.apache.activemq.artemis.core.protocol.core.impl.ChannelImpl.sendBlocking(ChannelImpl.java:361)
 [:]
        at 
org.apache.activemq.artemis.core.protocol.core.impl.ActiveMQClientProtocolManager.createSessionContext(ActiveMQClientProtocolManager.java:300)
 [:]
        at 
org.apache.activemq.artemis.core.protocol.core.impl.ActiveMQClientProtocolManager.createSessionContext(ActiveMQClientProtocolManager.java:249)
 [:]
        at 
org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.createSessionChannel(ClientSessionFactoryImpl.java:1349)
 [:]
        at 
org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.createSessionInternal(ClientSessionFactoryImpl.java:674)
 [:]
        at 
org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.createSession(ClientSessionFactoryImpl.java:299)
 [:]
        at 
org.apache.activemq.artemis.core.server.impl.ScaleDownHandler.scaleDownMessages(ScaleDownHandler.java:112)
 [:]
        at 
org.apache.activemq.artemis.core.server.impl.ScaleDownHandler.scaleDown(ScaleDownHandler.java:97)
 [:]
        at 
org.apache.activemq.artemis.core.server.impl.BackupRecoveryJournalLoader.postLoad(BackupRecoveryJournalLoader.java:96)
 [:]
        at 
org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.loadMessageJournal(AbstractJournalStorageManager.java:1214)
 [:]
        at 
org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.loadJournals(ActiveMQServerImpl.java:3221)
 [:]
        at 
org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.initialisePart2(ActiveMQServerImpl.java:2891)
 [:]
        at 
org.apache.activemq.artemis.core.server.impl.SharedStoreBackupActivation.run(SharedStoreBackupActivation.java:90)
 [:]
        at 
org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl$ActivationThread.run(ActiveMQServerImpl.java:3873)
 [:]

{code}


> Fix  LiveToLiveFailoverTest::scaleDownDelay
> -------------------------------------------
>
>                 Key: ARTEMIS-2709
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2709
>             Project: ActiveMQ Artemis
>          Issue Type: Task
>            Reporter: Clebert Suconic
>            Priority: Major
>             Fix For: 2.12.0
>
>




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

Reply via email to