Commit Graph

28 Commits

Author SHA1 Message Date
Clebert Suconic d55ec37195 Revert "ARTEMIS-2462 Allow store-forward queue to be deleted afte scaledown"
This reverts commit 397cef699a.
2019-09-17 14:05:00 -04:00
Howard Gao 397cef699a ARTEMIS-2462 Allow store-forward queue to be deleted afte scaledown
After a node is scaled down to a target node, the sf queue in the
target node is not deleted.

Normally this is fine because may be reused when the scaled down
node is back up.

However in cloud environment many drainer pods can be created and
then shutdown in order to drain the messages to a live node (pod).
Each drainer pod will have a different node-id. Over time the sf
queues in the target broker node grows and those sf queues are
no longer reused.

Although use can use management API/console to manually delete
them, it would be nice to have an option to automatically delete
those sf queue/address resources after scale down.

In this PR it added a boolean configuration parameter called
cleanup-sf-queue to scale down policy so that if the parameter
is "true" the broker will send a message to the
target broker signalling that the SF queue is no longer
needed and should be deleted.

If the parameter is not defined (default) or is "false"
the scale down won't remove the sf queue.
2019-08-28 21:16:38 +08:00
Justin Bertram c8a6d0da95 NO-JIRA fix HA doc port typo 2019-06-24 09:01:31 -05:00
Sebastian Lövdahl 8fe61d27fb NO-JIRA Fix references to failover-on-shutdown in documentation 2019-04-24 14:42:31 -04:00
art-licis da8427df22 NO-JIRA Minor edit in HA doc 2018-10-24 17:21:55 +01:00
Ville Skyttä 3400c0d76e NO-JIRA Grammar and spelling fixes 2018-10-08 20:45:59 -04:00
Justin Bertram 2b5d8f3b80 ARTEMIS-1912 big doc refactor
- Split protocols into individual chapters
- Reorganize summary to flow more logically
- Fill in missing parameters in configuration index
- Normalize spaces for ordered and unordered lists
- Re-wrap lots of text for readability
- Fix incorrect XML snippets
- Normalize table formatting
- Improve internal links with anchors
- Update content to reflect new address model
- Resized architecture images to avoid excessive white-space
- Update some JavaDoc
- Update some schema elements
- Disambiguate AIO & ASYNCIO where necessary
- Use URIs instead of Objects in code examples
2018-06-07 11:26:36 -04:00
Justin Bertram 86c9e7267b NO-JIRA review docs for content, style, & format 2018-03-08 22:47:10 -05:00
Stanislav Knot 12ccb77d74 NO-JIRA invalid xmls in docs 2018-03-07 09:17:57 -06:00
Justin Bertram bb7251ba08 ARTEMIS-1380 simplify docs with URL syntax 2017-08-31 12:04:08 -04:00
Bernd Gutjahr 6017e305d9 ARTEMIS-1112: Added wait-for-activation option to shared-store-master config
Added a wait-for-activation option to shared-store master HA policies.
This option is enabled by default to ensure unchanged server startup behavior.

If this option is enabled, ActiveMQServer.start() with a shared-store master server will not return
before the server has been activated.
If this options is disabled, start() will return after a background activation thread has been started.
The caller can use waitForActivation() to wait until server is activated, or just check the current activation status.
2017-05-03 16:40:15 -04:00
Andy Taylor a9ff8e4d9f doc fixes 2017-03-09 09:03:14 -05:00
Pat Fox b346d24e1a added missing detail to warning statement 2016-06-02 15:05:13 -04:00
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
Ville Skyttä b0a80ce1be Spelling fixes 2015-07-09 10:41:03 -04:00
Martyn Taylor a17c828b85 Ensure all references to the project use ActiveMQ Artemis 2015-05-13 11:51:26 +01:00
Andy Taylor ac5bb8fd6c renamed config to broker.xml 2015-04-29 10:30:32 +01:00
Justin Bertram 8f52a622d0 ACTIVEMQ6-1 Artemis rename
Based on the Apache ActiveMQ community vote this project is being
renamed "Artemis."
2015-04-27 17:48:02 -04:00
Andy Taylor ff1e8a1f06 doc fixes 2015-03-24 11:50:58 +00:00
Andy Taylor 51f092537a doc fixes 2015-03-16 11:27:36 +00:00
Andy Taylor 9d72cefd92 update user manual to use the phrase 'Apache ActiveMQ' 2015-03-03 16:36:33 +00:00
Andy Taylor d415f0d6e2 documentation updates 2015-02-25 13:37:19 +00:00
Martyn Taylor e194b7803e Replace all references of port 5445 with 61616 2015-02-25 13:27:04 +00:00
Andy Taylor a6a4d1bed5 documentation updates 2015-01-21 18:27:19 +00:00
Justin Bertram fe1ba7ca21 ACTIVEMQ6-69 remove deprecated items 2015-01-15 11:55:24 -06:00
Andy Taylor c7b6b66f96 documentation review fixes 2014-12-16 10:27:08 +00:00
Andy Taylor b4144013d9 documentation review fixes 2014-12-12 14:46:30 +00:00
Andy Taylor 4245a6b4fe ACTIVEMQ6-9 - port to markdown
https://issues.apache.org/jira/browse/ACTIVEMQ6-9

remove the jboss jdocbook build and style and replace using plane markdown
2014-12-08 13:23:24 +00:00