summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2013-04-29 17:13:04 +0100
committerSimon MacMullen <simon@rabbitmq.com>2013-04-29 17:13:04 +0100
commit4974768a6ecfb6a4041e2dfc76b3be2c4c40816b (patch)
tree37d72c03125677a1edc949b23171a01078ba4160
parent1e75029b48d9cdb9d986f849ea567ebd90ac19dd (diff)
downloadrabbitmq-server-git-4974768a6ecfb6a4041e2dfc76b3be2c4c40816b.tar.gz
Comment
-rw-r--r--src/rabbit_mirror_queue_mode.erl4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/rabbit_mirror_queue_mode.erl b/src/rabbit_mirror_queue_mode.erl
index de1c35e2ae..da4c9b360d 100644
--- a/src/rabbit_mirror_queue_mode.erl
+++ b/src/rabbit_mirror_queue_mode.erl
@@ -25,7 +25,9 @@
-callback description() -> [proplists:property()].
%% Called whenever we think we might need to change nodes for a
-%% mirrored queue.
+%% mirrored queue. Note that this is called from a variety of
+%% contexts, both inside and outside Mnesia transactions. Ideally it
+%% will be pure-functional.
%%
%% Takes: parameters set in the policy,
%% current master,