summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* fix comment in node_monitor, keep {error, enoent} in `try_read_file'bug24914Francesco Mazzoli2012-09-141-12/+8
|
* merge defaultFrancesco Mazzoli2012-09-149-822/+1299
|\
| * get cluster nodes from mnesia when legacy/non existant status fileFrancesco Mazzoli2012-09-131-2/+8
| | | | | | | | | | This is necessary because the upgrade process needs to remove the replicas of the schemas.
| * check the cluster consistency after the upgradeFrancesco Mazzoli2012-09-133-10/+12
| |
| * always call init_db with all nodesFrancesco Mazzoli2012-09-121-6/+6
| |
| * more informative and useful error messagesFrancesco Mazzoli2012-09-122-4/+10
| |
| * do not give up when finding an inconsistent nodeFrancesco Mazzoli2012-09-111-7/+10
| |
| * oopsFrancesco Mazzoli2012-09-111-2/+2
| |
| * split cluster status file and running nodes fileFrancesco Mazzoli2012-09-112-118/+97
| |
| * OopsSimon MacMullen2012-09-101-1/+1
| |
| * Attempt at simplifying check_cluster_consistency/0, but I am having trouble ↵Simon MacMullen2012-09-101-36/+40
| | | | | | | | with systest.
| * Typos and rephrasingSimon MacMullen2012-09-073-6/+6
| |
| * typo in rabbitmqctl man pageFrancesco Mazzoli2012-09-051-1/+1
| |
| * Another attempt at explaining disc vs RAM nodes, and capitalise RAM.Simon MacMullen2012-09-041-13/+14
| |
| * Merge defaultSimon MacMullen2012-09-0422-371/+493
| |\
| * | reset and join when changing node typeFrancesco Mazzoli2012-09-031-16/+17
| | |
| * | missing specFrancesco Mazzoli2012-08-301-0/+1
| | |
| * | revert last change (reset when changing node from disc to ram)Francesco Mazzoli2012-08-291-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mnesia, mnesia.... For some reason, this approach does not in some cases. For example, starting with nodes A, B, and C clustered and all disc, the following sequence of commands causes an error: $ rabbitmqctl -n A stop_app $ rabbitmqctl -n B stop_app $ rabbitmqctl -n B change_cluster_node_type ram # reset happens here $ rabbitmqctl -n B start_app $ rabbitmqctl -n A start_app error happens here: {error, {cannot_start_application,mnesia, {shutdown,{mnesia_sup,start,[normal,[]]}}}} I have no idea why, but it's probably connected to the fact that we can't do those changes when disc replicas are offline, and probably also related that operations like leaving the cluster require all the cluster node to be online. At this point I'd give up and put this limitation in `change_cluster_node_type', but I want to make sure that these limitations do not have repercussions in other commands. We should already take care of the "leave cluster when node offline" case, but there are probably others...
| * | reset when turning disc into ram nodeFrancesco Mazzoli2012-08-291-0/+9
| | |
| * | little fixes to the automatic clustering config codeFrancesco Mazzoli2012-08-231-3/+2
| | |
| * | get nodes and whether the node should be disc or ram from config if virgin nodeFrancesco Mazzoli2012-08-222-30/+86
| | | | | | | | | | | | | | | The first suitable node is picked from the list in the configuration, no consistency check is done - we might want to do that?
| * | remove commented code - we do not use `disc_only' anywhereFrancesco Mazzoli2012-08-221-7/+0
| | |
| * | remove_cluster_node => forget_cluster_nodeFrancesco Mazzoli2012-08-213-10/+10
| | |
| * | manpage fixFrancesco Mazzoli2012-08-211-2/+1
| | |
| * | more manpage fixesFrancesco Mazzoli2012-08-211-4/+4
| | |
| * | recluster => update_cluster_nodesFrancesco Mazzoli2012-08-213-13/+13
| | |
| * | forgot about the recluster exampleFrancesco Mazzoli2012-08-211-6/+0
| | |
| * | Simon's comment on the rabbitmqctl manpageFrancesco Mazzoli2012-08-211-7/+10
| | |
| * | merge defaultFrancesco Mazzoli2012-08-139-816/+1246
| |\ \
| | * \ merge defaultFrancesco Mazzoli2012-08-0121-224/+670
| | |\ \
| | * | | add a first draft for the rabbitmqctl documentationFrancesco Mazzoli2012-07-252-57/+138
| | | | | | | | | | | | | | | | | | | | Also, accept disk as well as disc in `change_cluster_node_type'.
| | * | | merge defaultFrancesco Mazzoli2012-07-168-121/+119
| | |\ \ \
| | * | | | clearer `rabbit_mnesia:discover_cluster/1'Francesco Mazzoli2012-07-091-4/+6
| | | | | |
| | * | | | `cluster_status/{0,1}' now returns the status directly, fails on errorFrancesco Mazzoli2012-07-091-11/+7
| | | | | |
| | * | | | cosmeticFrancesco Mazzoli2012-07-091-16/+17
| | | | | |
| | * | | | do not update the cluster status file by getting the mnesia statusFrancesco Mazzoli2012-07-091-8/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead, just update the existing cluster status file. This is because the mnesia propagation time can be slower than the other messages (see other comments in the bug)
| | * | | | add the magic `cluster' word to `remove_node' and `change_node_type'Francesco Mazzoli2012-07-092-15/+15
| | | | | |
| | * | | | `rabbit_misc:rabbit_version/0' => `rabbit_misc:version/0'Francesco Mazzoli2012-07-092-5/+5
| | | | | |
| | * | | | get rid of `is_disc_node'Francesco Mazzoli2012-07-091-9/+5
| | | | | |
| | * | | | remove useless `all_clustered_nodes/0' in `reset/1'Francesco Mazzoli2012-07-091-2/+2
| | | | | |
| | * | | | split the offline case of `rabbit_mnesia/2' in a separate functionFrancesco Mazzoli2012-07-091-49/+51
| | | | | |
| | * | | | `change_extra_db_nodes/2' throws instead of returning errorFrancesco Mazzoli2012-07-091-43/+39
| | | | | |
| | * | | | remove unnecessary `ensure_mnesia_not_running/0'Francesco Mazzoli2012-07-091-2/+1
| | | | | |
| | * | | | ?SERVER instead of explicit nameFrancesco Mazzoli2012-07-091-3/+3
| | | | | |
| | * | | | check that the node selected for removal is in the clusterFrancesco Mazzoli2012-07-091-1/+1
| | | | | |
| | * | | | fix the flags declaration in `rabbit_control_main'Francesco Mazzoli2012-07-061-1/+1
| | | | | |
| | * | | | correct invocations of `on_node_{up,down}' in `rabbit_node_monitor'.Francesco Mazzoli2012-07-061-2/+3
| | | | | |
| | * | | | Merge headsSimon MacMullen2012-07-061-1/+1
| | |\ \ \ \
| | | * | | | While this didn't actually crash the VM for me, we generally want to HiPE as ↵Simon MacMullen2012-07-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | early as we possibly can.
| | * | | | | merge defaultFrancesco Mazzoli2012-07-0526-113/+589
| | |\ \ \ \ \