diff options
| author | Alexandru Scvortov <alexandru@rabbitmq.com> | 2011-08-11 18:48:23 +0100 |
|---|---|---|
| committer | Alexandru Scvortov <alexandru@rabbitmq.com> | 2011-08-11 18:48:23 +0100 |
| commit | 5b4b26ff4c723248063d32be099a665b075ded2c (patch) | |
| tree | cfa98020569de6b5fd087e1ac1f14cb6ba4482c6 /src/rabbit.erl | |
| parent | e4bbe62e53c95d1b66998e07a0a49b6603167642 (diff) | |
| parent | f6f03b1afc93639d4cc5f4c66a2e9392506b434c (diff) | |
| download | rabbitmq-server-git-5b4b26ff4c723248063d32be099a665b075ded2c.tar.gz | |
merge from default
Diffstat (limited to 'src/rabbit.erl')
| -rw-r--r-- | src/rabbit.erl | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/rabbit.erl b/src/rabbit.erl index 6ef816c0f1..46f7d9d1f3 100644 --- a/src/rabbit.erl +++ b/src/rabbit.erl @@ -134,6 +134,18 @@ {requires, empty_db_check}, {enables, routing_ready}]}). +-rabbit_boot_step({mirror_queue_slave_sup, + [{description, "mirror queue slave sup"}, + {mfa, {rabbit_mirror_queue_slave_sup, start, []}}, + {requires, recovery}, + {enables, routing_ready}]}). + +-rabbit_boot_step({mirrored_queues, + [{description, "adding mirrors to queues"}, + {mfa, {rabbit_mirror_queue_misc, on_node_up, []}}, + {requires, mirror_queue_slave_sup}, + {enables, routing_ready}]}). + -rabbit_boot_step({routing_ready, [{description, "message delivery logic ready"}, {requires, core_initialized}]}). @@ -175,7 +187,7 @@ -spec(prepare/0 :: () -> 'ok'). -spec(start/0 :: () -> 'ok'). -spec(stop/0 :: () -> 'ok'). --spec(stop_and_halt/0 :: () -> 'ok'). +-spec(stop_and_halt/0 :: () -> no_return()). -spec(rotate_logs/1 :: (file_suffix()) -> rabbit_types:ok_or_error(any())). -spec(status/0 :: () -> [{pid, integer()} | |
