summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2011-06-01 11:06:02 +0100
committerSimon MacMullen <simon@rabbitmq.com>2011-06-01 11:06:02 +0100
commit560b5e28aae4179b48a4c61f6134dd89008686af (patch)
tree65261069aea7e0899792687ac968d1cb7b9c23c8
parentb77d1dc68d86448517505583948cd166130dac65 (diff)
downloadrabbitmq-server-bug23857.tar.gz
Tweak commentbug23857
-rw-r--r--src/rabbit_mnesia.erl5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/rabbit_mnesia.erl b/src/rabbit_mnesia.erl
index 037f9687..568b9ce6 100644
--- a/src/rabbit_mnesia.erl
+++ b/src/rabbit_mnesia.erl
@@ -92,8 +92,9 @@ init() ->
ensure_mnesia_dir(),
ok = init_db(read_cluster_nodes_config(), true,
fun maybe_upgrade_local_or_record_desired/0),
- %% We intuitively expect the global name server to be up when
- %% Mnesia is. In fact that's not the case - let's make it so.
+ %% We intuitively expect the global name server to be synced when
+ %% Mnesia is up. In fact that's not guaranteed to be the case - let's
+ %% make it so.
ok = global:sync(),
ok.