activemq-artemis/docs/user-manual/en
jbertram ef5a9809f2 ARTEMIS-256 orchestrate failback deterministically
The failback process needs to be deterministic rather than relying on various
incarnations of Thread.sleep() at crucial points. Important aspects of this
change include:

1) Make the initial replication synchronization process block at the very
last step and wait for a response from the replica to ensure the replica has
as the necessary data. This is a critical piece of knowledge during the
failback process because it allows the soon-to-become-backup server to know
for sure when it can shut itself down and allow the soon-to-become-live
server to take over. Also, introduce a new configuration element called
"initial-replication-sync-timeout" to conrol how long this blocking will occur.

2) Set the state of the server as 'LIVE' only after the server is fully
started. This is necessary because once the soon-to-be-backup server shuts
down it needs to know that the soon-to-be-live server has started fully before
it restarts itself as the new backup. If the soon-to-be-backup server restarts
before the soon-to-be-live is fully started then it won't actually become a
backup server but instead will become a live server which will break the
failback process.

3) Wait to receive the announcement of a backup server before failing-back.
2015-10-20 14:55:31 -04:00
..
diagrams picture change because of protocols 2015-09-02 09:32:01 -04:00
images picture change because of protocols 2015-09-02 09:32:01 -04:00
README.md Ensure all references to the project use ActiveMQ Artemis 2015-05-13 11:51:26 +01:00
SUMMARY.md Adding chapter about UDP troubleshooting 2015-09-02 10:21:33 -04:00
aerogear-integration.md ACTIVEMQ6-1 Artemis rename 2015-04-27 17:48:02 -04:00
architecture.md fixing wrong link on doc 2015-10-05 14:23:24 -04:00
book.json specifying gitbook version to stop warning during doc generation 2015-09-29 09:43:53 -04:00
client-classpath.md ACTIVEMQ6-1 Artemis rename 2015-04-27 17:48:02 -04:00
client-reconnection.md ACTIVEMQ6-1 Artemis rename 2015-04-27 17:48:02 -04:00
clusters.md Spelling fixes 2015-07-09 10:41:03 -04:00
configuration-index.md ARTEMIS-19 allow disabling of message load-balancing 2015-06-03 16:21:43 -05:00
configuring-transports.md Spelling fixes 2015-07-09 10:41:03 -04:00
connection-ttl.md renamed config to broker.xml 2015-04-29 10:30:32 +01:00
core-bridges.md Ensure all references to the project use ActiveMQ Artemis 2015-05-13 11:51:26 +01:00
diverts.md Ensure all references to the project use ActiveMQ Artemis 2015-05-13 11:51:26 +01:00
duplicate-detection.md More rename updates 2015-04-30 09:07:20 -05:00
embedding-activemq.md More rename updates 2015-04-30 09:07:20 -05:00
examples.md modifications to example chapter 2015-09-02 09:32:12 -04:00
filter-expressions.md renamed config to broker.xml 2015-04-29 10:30:32 +01:00
flow-control.md Doc updates 2015-05-13 09:33:30 -04:00
graceful-shutdown.md documentation updates 2015-02-25 13:37:19 +00:00
ha.md ARTEMIS-256 orchestrate failback deterministically 2015-10-20 14:55:31 -04:00
intercepting-operations.md More rename updates 2015-04-30 09:07:20 -05:00
jms-bridge.md More rename updates 2015-04-30 09:07:20 -05:00
jms-core-mapping.md ACTIVEMQ6-1 Artemis rename 2015-04-27 17:48:02 -04:00
large-messages.md More rename updates 2015-04-30 09:07:20 -05:00
last-value-queues.md ACTIVEMQ6-97 - Change HQ to AMQ for properties/headers/doc. Remove as much HQ as possible and change to AMQ to make this close to the ActiveMQ project. 2015-04-21 12:26:44 -04:00
libaio.md manual additions about maven plugin 2015-09-01 23:44:46 -04:00
logging.md More rename updates 2015-04-30 09:07:20 -05:00
management.md Ensure all references to the project use ActiveMQ Artemis 2015-05-13 11:51:26 +01:00
maven-plugin.md fixing version and adding missing projects on release profile 2015-09-04 23:41:23 -04:00
message-expiry.md Fixed documentation issue about message-expiry-thread-priority attribute. 2015-07-21 22:10:15 +01:00
message-grouping.md Ensure all references to the project use ActiveMQ Artemis 2015-05-13 11:51:26 +01:00
messaging-concepts.md ACTIVEMQ6-1 Artemis rename 2015-04-27 17:48:02 -04:00
notice.md ACTIVEMQ6-9 - port to markdown 2014-12-08 13:23:24 +00:00
paging.md renamed schemas 2015-04-29 10:49:43 +01:00
perf-tuning.md Adding chapter about UDP troubleshooting 2015-09-02 10:21:33 -04:00
persistence.md removing old doc (non relevant any longer) 2015-09-11 09:06:00 -04:00
pre-acknowledge.md fixed examples and some docs after Artemis renaming 2015-04-30 10:44:16 +01:00
preface.md Ensure all references to the project use ActiveMQ Artemis 2015-05-13 11:51:26 +01:00
project-info.md fixing links on project-info doc 2015-09-24 13:17:13 -04:00
protocols-interoperability.md Add MQTT Section to protocols chapter 2015-08-12 11:42:11 -04:00
queue-attributes.md More rename updates 2015-04-30 09:07:20 -05:00
resource-limits.md ACTIVEMQ6-70 broker resource limits 2015-05-04 20:37:20 -05:00
rest.md Spelling fixes 2015-07-09 10:41:03 -04:00
scheduled-messages.md ACTIVEMQ6-97 - Change HQ to AMQ for properties/headers/doc. Remove as much HQ as possible and change to AMQ to make this close to the ActiveMQ project. 2015-04-21 12:26:44 -04:00
security.md ARTEMIS-74 import JAAS auth from 5.x 2015-10-09 11:42:22 -05:00
send-guarantees.md More rename updates 2015-04-30 09:07:20 -05:00
slow-consumers.md ACTIVEMQ6-1 Artemis rename 2015-04-27 17:48:02 -04:00
spring-integration.md renamed schemas 2015-04-29 10:49:43 +01:00
syntax.md documentation review fixes 2014-12-12 14:46:30 +00:00
thread-pooling.md fixed examples and some docs after Artemis renaming 2015-04-30 10:44:16 +01:00
tools.md Moving artemis-tools to artemis-cli and improving the tooling 2015-05-03 12:42:19 -04:00
transaction-config.md renamed config to broker.xml 2015-04-29 10:30:32 +01:00
undelivered-messages.md renamed config to broker.xml 2015-04-29 10:30:32 +01:00
using-core.md ACTIVEMQ6-1 Artemis rename 2015-04-27 17:48:02 -04:00
using-jms.md Spelling fixes 2015-07-09 10:41:03 -04:00
using-server.md Updating documentation cmds 2015-09-29 17:49:01 -03:00
vertx-integration.md ACTIVEMQ6-1 Artemis rename 2015-04-27 17:48:02 -04:00
wildcard-routing.md renamed config to broker.xml 2015-04-29 10:30:32 +01:00
wildcard-syntax.md ACTIVEMQ6-1 Artemis rename 2015-04-27 17:48:02 -04:00

README.md

ActiveMQ Artemis logo

Apache ActiveMQ Artemis User Manual

The User manual is an in depth manual on all aspects of Apache ActiveMQ Artemis