summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.