Dmitry Smeliansky created ARTEMIS-2165:
------------------------------------------

             Summary: Not having backup available after restart in colocated 
configuration
                 Key: ARTEMIS-2165
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2165
             Project: ActiveMQ Artemis
          Issue Type: Bug
          Components: Broker
    Affects Versions: 2.6.0
            Reporter: Dmitry Smeliansky


This issue was asked multiple times in stackoverflow, but was never answered.

When using a co-located HA policy, the backups, maintained by some node are not 
restored after this node is restarted (not on this node and not on any other).

[https://stackoverflow.com/questions/52839706/artemis-2-6-0-colocated-ha-issues]

[https://stackoverflow.com/questions/52000662/artemis-colocated-ha-policy]

Our configuration was as the following:
{code:java}
   <ha-policy>
        <replication>
              <colocated>
                    <backup-port-offset>100</backup-port-offset>
                    <request-backup>true</request-backup>
                    <max-backups>2</max-backups>
                    <backup-request-retries>-1</backup-request-retries>
                    
<backup-request-retry-interval>5000</backup-request-retry-interval>
                    <master/>
                    <slave/>
              </colocated>
        </replication>
  </ha-policy>{code}
Thanks



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to