diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2012-07-05 16:00:28 +0100 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2012-07-05 16:00:28 +0100 |
commit | f4e20306ddd516c40e26f3c8faf1e2316d1cc604 (patch) | |
tree | f930b063fc9c466f3857591e6654e2f4b1052b6d /include | |
parent | a47b7dba6201972a293dd3563466ad29f834e799 (diff) | |
download | rabbitmq-server-f4e20306ddd516c40e26f3c8faf1e2316d1cc604.tar.gz |
Rough sketch of dynamic queue HA-ness:
* Remove #amqqueue.mirror_nodes, we will always derive this from policy
* Remove everything to do with x-ha-* arguments
* Abstract a bit more stuff into rabbit_mirror_queue_misc
* Add a new "at-least" mode
This works! Sort of. Changing policies on the fly, changing HAness altogether, having "at-least" set up a new mirror when one disappears, and probably some other things do not work.
Diffstat (limited to 'include')
-rw-r--r-- | include/rabbit.hrl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rabbit.hrl b/include/rabbit.hrl index e8b4a623..7be82aef 100644 --- a/include/rabbit.hrl +++ b/include/rabbit.hrl @@ -47,7 +47,7 @@ -record(exchange_serial, {name, next}). -record(amqqueue, {name, durable, auto_delete, exclusive_owner = none, - arguments, pid, slave_pids, mirror_nodes, policy}). + arguments, pid, slave_pids, policy}). %% mnesia doesn't like unary records, so we add a dummy 'value' field -record(route, {binding, value = const}). |