summaryrefslogtreecommitdiff
path: root/src/rabbit_upgrade_functions.erl
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2011-01-11 13:44:41 +0000
committerSimon MacMullen <simon@rabbitmq.com>2011-01-11 13:44:41 +0000
commit70c6ce665144f6d85a160e842c4cdfe543865ef4 (patch)
tree9f1273e66e1d831504cf898bb88e42cae108235c /src/rabbit_upgrade_functions.erl
parenta153921362e59e87f5052e5ce80f765425777b59 (diff)
downloadrabbitmq-server-70c6ce665144f6d85a160e842c4cdfe543865ef4.tar.gz
Break the cluster *after* taking the backup.
Diffstat (limited to 'src/rabbit_upgrade_functions.erl')
-rw-r--r--src/rabbit_upgrade_functions.erl8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rabbit_upgrade_functions.erl b/src/rabbit_upgrade_functions.erl
index b9b46f9a..151b498d 100644
--- a/src/rabbit_upgrade_functions.erl
+++ b/src/rabbit_upgrade_functions.erl
@@ -110,10 +110,6 @@ one() ->
[username, password_hash, is_admin, extra]).
two() ->
- ok = rabbit_misc:write_term_file(filename:join(rabbit_mnesia:dir(), "test"),
- [test]).
-
-three() ->
mnesia(
rabbit_user,
fun ({internal_user, Username, Hash, IsAdmin, _}) ->
@@ -121,6 +117,10 @@ three() ->
end,
[username, password_hash, is_admin]).
+three() ->
+ ok = rabbit_misc:write_term_file(filename:join(rabbit_mnesia:dir(), "test"),
+ [test]).
+
%%--------------------------------------------------------------------
mnesia(TableName, Fun, FieldList) ->