Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-2892

Replication stopped working after many failovers

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.11.0
    • 2.36.0
    • Broker

    Description

      We have 2 servers that we have been testing the failover capabilities with. We have encountered a situation where replication has completely stopped, but the master is working properly otherwise.

      When the backup attempts to connect, the master has this in its logs.

      2020-09-01 11:23:31,177 WARN  [org.apache.activemq.artemis.core.server] AMQ222013: Error when trying to start replication: ActiveMQInternalErrorException[errorType=INTERNAL_ERROR message=AMQ229006: journals are not JournalImpl. You can''t set a replicator!]
              at org.apache.activemq.artemis.core.persistence.impl.journal.JournalStorageManager.startReplication(JournalStorageManager.java:628) [artemis-server-2.11.0.jar:2.11.0]
              at org.apache.activemq.artemis.core.server.impl.SharedNothingLiveActivation$2.run(SharedNothingLiveActivation.java:178) [artemis-server-2.11.0.jar:2.11.0]
              at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_201]
      

      How can this happen? Up until this point, replication was working properly through all of the failovers (10+).

      I have attached the logs files from both systems.

      Attachments

        1. artemis-1019.log
          54 kB
          Chris Oman
        2. artemis-1017.log
          83 kB
          Chris Oman

        Issue Links

          Activity

            People

              clebertsuconic Clebert Suconic
              chriso153 Chris Oman
              Votes:
              1 Vote for this issue
              Watchers:
              4 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