Simon MacMullen <simon@rabbitmq.com> [Fri, 18 May 2012 16:58:03 +0100] rev 9618
It's really misleading to print "-- plugins running" when there are no plugins running.
Tim Watson <tim.watson@gmail.com> [Mon, 21 May 2012 15:11:26 +0100] rev 9617
rebase with master
Tim Watson <tim.watson@gmail.com> [Mon, 21 May 2012 14:51:21 +0100] rev 9616
merge ee8aecef6eae into junk
Tim Watson <tim.watson@gmail.com> [Mon, 21 May 2012 14:13:48 +0100] rev 9615
fix variable handling in rabbitmq-server preventing background node startup from working (rebase foo)
Tim Watson <tim@rabbitmq.com> [Wed, 16 May 2012 16:49:11 +0100] rev 9614
remove message about re-installing windows service after plugin changes
Tim Watson <tim@rabbitmq.com> [Wed, 16 May 2012 16:26:27 +0100] rev 9613
be mindful of windows line endings whilst parsing pid files
Tim Watson <tim@rabbitmq.com> [Wed, 16 May 2012 15:38:21 +0100] rev 9612
on windows, die in the correct manner when node name is already in use
Tim Watson <tim.watson@gmail.com> [Wed, 16 May 2012 14:46:11 +0100] rev 9611
revert to expected RABBITMQ_NODE_ONLY behaviour on unix
Tim Watson <tim@rabbitmq.com> [Wed, 16 May 2012 13:59:21 +0100] rev 9610
cosmetic
Tim Watson <tim@rabbitmq.com> [Wed, 16 May 2012 13:48:29 +0100] rev 9609
rationalise rabbit_misc:terminate/1/2 with rabbit_misc:quit/1
Tim Watson <tim.watson@gmail.com> [Mon, 21 May 2012 14:10:09 +0100] rev 9608
fix variable handling in rabbitmq-server preventing background node startup from working
Tim Watson <tim.watson@gmail.com> [Mon, 21 May 2012 14:41:57 +0100] rev 9607
manually merge 3c20079f0601
Tim Watson <tim.watson@gmail.com> [Mon, 21 May 2012 14:36:10 +0100] rev 9606
rework e4649f81c3a6 commit history for renaming
Francesco Mazzoli <francesco@rabbitmq.com> [Mon, 21 May 2012 14:38:23 +0100] rev 9605
change the cluster nodes functions to rely on the cluster status file only
+ some other fixes based on the fact that now we firmly assume that the
cluster status is as up to date as it can be.
Tim Watson <tim.watson@gmail.com> [Mon, 21 May 2012 14:27:16 +0100] rev 9604
merge c1060fa2e555 into junk
Tim Watson <tim.watson@gmail.com> [Mon, 21 May 2012 14:13:48 +0100] rev 9603
fix variable handling in rabbitmq-server preventing background node startup from working (rebase foo)
Tim Watson <tim@rabbitmq.com> [Wed, 16 May 2012 16:49:11 +0100] rev 9602
remove message about re-installing windows service after plugin changes
Tim Watson <tim@rabbitmq.com> [Wed, 16 May 2012 16:26:27 +0100] rev 9601
be mindful of windows line endings whilst parsing pid files
Tim Watson <tim@rabbitmq.com> [Wed, 16 May 2012 15:38:21 +0100] rev 9600
on windows, die in the correct manner when node name is already in use
Tim Watson <tim.watson@gmail.com> [Wed, 16 May 2012 14:46:11 +0100] rev 9599
revert to expected RABBITMQ_NODE_ONLY behaviour on unix
Tim Watson <tim@rabbitmq.com> [Wed, 16 May 2012 13:59:21 +0100] rev 9598
cosmetic
Tim Watson <tim@rabbitmq.com> [Wed, 16 May 2012 13:48:29 +0100] rev 9597
rationalise rabbit_misc:terminate/1/2 with rabbit_misc:quit/1
Tim Watson <tim.watson@gmail.com> [Mon, 21 May 2012 14:10:09 +0100] rev 9596
fix variable handling in rabbitmq-server preventing background node startup from working
Tim Watson <tim@rabbitmq.com> [Wed, 16 May 2012 13:14:36 +0100] rev 9595
move rabbit_control to the same naming scheme as rabbit_plugins
Tim Watson <tim.watson@gmail.com> [Mon, 21 May 2012 14:04:39 +0100] rev 9594
merge 7dae0f4505ab manually
Tim Watson <tim.watson@gmail.com> [Mon, 21 May 2012 13:55:48 +0100] rev 9593
rework commit history for bug24792
Francesco Mazzoli <francesco@rabbitmq.com> [Mon, 21 May 2012 11:39:49 +0100] rev 9592
change rabbitmqctl `join_cluster', add `recluster' and `change_node_type'
also, remove `cluster'.
Description for the commands:
* recluster <clusternode>
Instruct an offline node to try to cluster with the nodes provided when
it comes back online. With "cluster" I mean cluster directly, only if the
other nodes think the node is in the cluster already.
This command is useful if we bring a node down and then change the cluster
while it is offline.
* change_node_type (ram|disc)
Changed the node to the provided node type. The change will fail if the
user is trying to create a standalone ram node.
* join_cluster clusternode
Same as before, but only takes one node as "discovery" node. We think
this is better since we don't really make any attempt to verify that
all the provided nodes are in the same cluster anyways.
Francesco Mazzoli <francesco@rabbitmq.com> [Mon, 21 May 2012 01:11:49 +0100] rev 9591
simplify `rabbit_misc:get_options/4'
Incidentally, it is also much more efficient (not that it matters).
I will probably rename it to something like `parse_arguments'.
`CommandOpts' and `GlobalOpts' could be one, but I think that `GlobalOpts'
is really useful since adding the global options to each single command
is a pain. We could, obviously, put them together in a tuple, but then
it's not that different from two separate arguments.
Simon MacMullen <simon@rabbitmq.com> [Fri, 18 May 2012 16:58:03 +0100] rev 9590
It's really misleading to print "-- plugins running" when there are no plugins running.
Simon MacMullen <simon@rabbitmq.com> [Fri, 18 May 2012 16:05:12 +0100] rev 9589
We can't now write the serial record when we declare the exchange; an exchange can become federated at any time.
Francesco Mazzoli <francesco@rabbitmq.com> [Fri, 18 May 2012 12:01:09 +0100] rev 9588
moved functions around in rabbit_mnesia
Simon MacMullen <simon@rabbitmq.com> [Fri, 18 May 2012 11:36:06 +0100] rev 9587
Move parameter validation into its own module.
Simon MacMullen <simon@rabbitmq.com> [Fri, 18 May 2012 11:16:21 +0100] rev 9586
Unused variable warning
Emile Joubert <emile@rabbitmq.com> [Fri, 18 May 2012 11:37:51 +0100] rev 9585
Prevent DOWN messages from overtaking initial catchup
Francesco Mazzoli <francesco@rabbitmq.com> [Fri, 18 May 2012 11:14:30 +0100] rev 9584
merge default
Simon MacMullen <simon@rabbitmq.com> [Fri, 18 May 2012 11:00:41 +0100] rev 9583
How long have we supported pluggable exchange types now?
Simon MacMullen <simon@rabbitmq.com> [Fri, 18 May 2012 10:59:25 +0100] rev 9582
Document policy info item.
Simon MacMullen <simon@rabbitmq.com> [Fri, 18 May 2012 10:51:33 +0100] rev 9581
Remove decorator:route/2.
Simon MacMullen <simon@rabbitmq.com> [Fri, 18 May 2012 10:50:17 +0100] rev 9580
TODO--: Update behaviour
Emile Joubert <emile@rabbitmq.com> [Fri, 18 May 2012 10:23:03 +0100] rev 9579
Track a member's own last_pub in members_state
Tim Watson <tim.watson@gmail.com> [Fri, 18 May 2012 10:10:11 +0100] rev 9578
fix variable handling in rabbitmq-server preventing background node startup from working
Simon MacMullen <simon@rabbitmq.com> [Thu, 17 May 2012 17:52:01 +0100] rev 9577
First sketch of a policy mechanism.
Francesco Mazzoli <francesco@rabbitmq.com> [Thu, 17 May 2012 15:28:28 +0100] rev 9576
oops
Francesco Mazzoli <francesco@rabbitmq.com> [Thu, 17 May 2012 15:27:42 +0100] rev 9575
add test for `rabbit_misc:get_options/4'
Francesco Mazzoli <francesco@rabbitmq.com> [Thu, 17 May 2012 11:51:19 +0100] rev 9574
change to how `get_options/4' handles flags
Now it doesn't complain on flags that should not be there, it simply eats
only the flags relevant to the command.
Matthias Radestock <matthias@rabbitmq.com> [Thu, 17 May 2012 11:15:58 +0100] rev 9573
don't wait (nearly) forever for mirrored_supervisor migrations
...and reduce wait time for migrations we expect to fail, so we keep
the overall run time short.
Tim Watson <tim.watson@gmail.com> [Thu, 17 May 2012 10:52:37 +0100] rev 9572
merge bug24362
Francesco Mazzoli <francesco@rabbitmq.com> [Wed, 16 May 2012 18:04:59 +0100] rev 9571
added checks to `rabbit_misc:get_options/3'.
See comments on top of the new definition (now its arity is 4).
I still need to update the tests.
Matthias Radestock <matthias@rabbitmq.com> [Wed, 16 May 2012 17:39:07 +0100] rev 9570
start supervisor children as, er, supervisors, not workers
Matthias Radestock <matthias@rabbitmq.com> [Wed, 16 May 2012 17:21:29 +0100] rev 9569
expand rabbit_sup API with starting of children that are supervisors
and use that API throughout the code where appropriate
Matthias Radestock <matthias@rabbitmq.com> [Wed, 16 May 2012 17:08:03 +0100] rev 9568
cosmetic
Matthias Radestock <matthias@rabbitmq.com> [Wed, 16 May 2012 16:23:41 +0100] rev 9567
cosmetic
Tim Watson <tim@rabbitmq.com> [Wed, 16 May 2012 16:49:11 +0100] rev 9566
remove message about re-installing windows service after plugin changes
Tim Watson <tim@rabbitmq.com> [Wed, 16 May 2012 16:26:27 +0100] rev 9565
be mindful of windows line endings whilst parsing pid files
Tim Watson <tim@rabbitmq.com> [Wed, 16 May 2012 15:38:21 +0100] rev 9564
on windows, die in the correct manner when node name is already in use
Matthias Radestock <matthias@rabbitmq.com> [Wed, 16 May 2012 16:22:02 +0100] rev 9563
add missing spec
Matthias Radestock <matthias@rabbitmq.com> [Wed, 16 May 2012 15:22:46 +0100] rev 9562
get a node to clean up after old incarnations of itself
...in case other nodes don't do so in time or, if they themselves
stop/restart, ever.
Tim Watson <tim.watson@gmail.com> [Wed, 16 May 2012 14:46:11 +0100] rev 9561
revert to expected RABBITMQ_NODE_ONLY behaviour on unix
Tim Watson <tim@rabbitmq.com> [Wed, 16 May 2012 13:59:21 +0100] rev 9560
cosmetic
Tim Watson <tim@rabbitmq.com> [Wed, 16 May 2012 13:48:29 +0100] rev 9559
rationalise rabbit_misc:terminate/1/2 with rabbit_misc:quit/1
Tim Watson <tim@rabbitmq.com> [Wed, 16 May 2012 13:14:36 +0100] rev 9558
move rabbit_control to the same naming scheme as rabbit_plugins
Tim Watson <tim@rabbitmq.com> [Wed, 16 May 2012 12:02:03 +0100] rev 9557
split rabbit_plugins into client and server side modules
Tim Watson <tim@rabbitmq.com> [Wed, 16 May 2012 09:19:12 +0100] rev 9556
rename bootstrap_environment to prepare_plugins; fix while_process_is_alive activity call
Francesco Mazzoli <francesco@rabbitmq.com> [Wed, 16 May 2012 12:35:12 +0100] rev 9555
merge default
Francesco Mazzoli <francesco@rabbitmq.com> [Tue, 15 May 2012 18:04:32 +0100] rev 9554
store more info about the cluster on disc, check other nodes before clustering
Now the `cluster_nodes.config; doesn't store a "config" anymore, but all
the information we need about the cluster nodes. This file is updated
whenever a new node comes up. Moreover, this file should be *always*
present, and it's set up in `rabbit:prepare/0'.
Now that we have this file, the various functions regarding the status
of the cluster (`all_clustered_nodes/0', `running_clustered_nodes/0;, etc.)
can "work" even when mnesia is down (and when the rode is a ram node).
Given the assumption that the status file is up to date, with the status
of the cluster (before the node went down if the node is down) a lot of
operations become easier.
I'd like a review at this point, the best thing is probably to diff directly
with default since a lot of previous commits are not relevant anymore.
The most noticeable changes compared to default:
* `join_cluster' works differently. The nodes provided will be used to
"discover" the cluster, and are not used to determine whether the node
should be ram or not. The node will be a disc node by default, and
can be initialized as RAM with the `--ram' flag. The old `cluster'
command is preserved, adapted to work with the new functions while
preserving similar semantics (we decide on whether the node is disc or
not by looking at the list of nodes provided).
* `force_cluster' has been removed.
* The `join_cluster' operation will fail if:
- The node is currently the only disc node of its cluster
- We can't connect to any of the nodes provided
- The node is currently already clustered with the cluster of the nodes
provided
* On default restart RAM nodes try to connect to the nodes that were first
given by the user, and are not aware of the changes that might have
occurred in the cluster when they were online. Since the cluster status
is kept updated on disk now, the RAM node will be aware of changes in the
cluster when restarted.
* Before starting up mnesia, the node contacts the nodes it thinks it's
clustered with, and if the nodes are not clustered with the node anymore
the startup procedure fail. We fail only when we know for sure that
something is wrong - e.g. it won't fail it it doesn't find any online
node
Things to do:
* Implement `uncluster'/`leave_cluster' to kick out a node from a cluster
from another node - this is easy.
* Implement something like `change_node_type', since given how `join_cluster'
works it is not possible right now.
* Rewrite the tests regarding to clustering.
* Think hard about what can go wrong regarding the cluster status file and
the relevant functions. The stuff in `rabbit_upgrade' is particularly
worrying, and I need to make sure that things will work when upgrading
rabbitmq, by reading old file or upgrading them.
* Split `init_db/4' in various functions. We have much stronger assumptions
now, for example we should never need to reset or wipe the schema in
there. In general it's an ugly function, expecially the optional upgrade
part
* Probably something else...
Tim Watson <tim@rabbitmq.com> [Tue, 15 May 2012 16:53:50 +0100] rev 9553
remove ref to old define; document terminate/1 vs quit/1
Tim Watson <tim@rabbitmq.com> [Tue, 15 May 2012 16:44:20 +0100] rev 9552
remove vestigial ERROR_CODE define and dangling TODO from rabbit_misc
Tim Watson <tim@rabbitmq.com> [Tue, 15 May 2012 16:40:12 +0100] rev 9551
preserve original 'wait on any app' functionality
Tim Watson <tim@rabbitmq.com> [Tue, 15 May 2012 16:20:30 +0100] rev 9550
rabbit_control waits as long as process is alive
Simon MacMullen <simon@rabbitmq.com> [Tue, 15 May 2012 16:24:27 +0100] rev 9549
Merge default
Michael Bridgen <mikeb@rabbitmq.com> [Tue, 15 May 2012 15:01:03 +0100] rev 9548
Flatten API for getting the SSL peer name
Francesco Mazzoli <francesco@rabbitmq.com> [Mon, 14 May 2012 18:08:29 +0100] rev 9547
fix leave_cluster, update rabbit_app.in
Francesco Mazzoli <francesco@rabbitmq.com> [Mon, 14 May 2012 16:57:28 +0100] rev 9546
change function to find out about cluster nodes
See comment above `check_mnesia_running/1' in `rabbit_mnesia'. In short,
the function to find out about all/running nodes in the cluster do not
work if mnesia is down and the node is a ram node, while we assumed
that they would always work. Moreover, the functions to get the cluster
disc nodes require mnesia to be up.
Simon MacMullen <simon@rabbitmq.com> [Mon, 14 May 2012 16:15:03 +0100] rev 9545
Make the list of plugins look a bit more like the boot steps.
Simon MacMullen <simon@rabbitmq.com> [Mon, 14 May 2012 15:28:45 +0100] rev 9544
"Activating RabbitMQ plugins ..." is no longer particularly true or useful to report here. And clean up some trailing spaces.
Tim Watson <tim.watson@gmail.com> [Mon, 14 May 2012 13:41:27 +0100] rev 9543
merge e1311dd42eba into bug24362
Tim Watson <tim.watson@gmail.com> [Mon, 14 May 2012 13:40:36 +0100] rev 9542
merge f6d1609212f9 into bug24362
Tim Watson <tim.watson@gmail.com> [Mon, 14 May 2012 13:37:53 +0100] rev 9541
merge default into this branch
Tim Watson <tim@rabbitmq.com> [Mon, 14 May 2012 12:03:23 +0100] rev 9540
skip non-tests that were causing failures
Francesco Mazzoli <francesco@rabbitmq.com> [Fri, 11 May 2012 18:33:14 +0100] rev 9539
reseting when clustering, `reset' now disconnects correctly
Also, I check that we're not joining a cluster we're already in.
Francesco Mazzoli <francesco@rabbitmq.com> [Fri, 11 May 2012 17:35:34 +0100] rev 9538
added `join_cluster', deprecated `cluster, changed the structure of the node config
Michael Bridgen <mikeb@rabbitmq.com> [Fri, 11 May 2012 15:14:08 +0100] rev 9537
Merge default
Francesco Mazzoli <francesco@rabbitmq.com> [Fri, 11 May 2012 14:20:31 +0100] rev 9536
remove the bug 24919 stuff
Francesco Mazzoli <francesco@rabbitmq.com> [Thu, 10 May 2012 16:24:15 +0100] rev 9535
merge bug24919
Tim Watson <tim.watson@gmail.com> [Fri, 11 May 2012 13:48:01 +0100] rev 9534
run all test suites regardless of failures
Francesco Mazzoli <francesco@rabbitmq.com> [Thu, 10 May 2012 15:46:12 +0100] rev 9533
removed `rabbit_mnesia:force_cluster'
I'll also have to remove the `Force' parameter from `init_db', fixing
bug 24815.
Tim Watson <tim.watson@gmail.com> [Thu, 10 May 2012 14:43:00 +0100] rev 9532
remote TODO and extraneous branches from rabbit-server
Francesco Mazzoli <francesco@rabbitmq.com> [Thu, 10 May 2012 14:42:12 +0100] rev 9531
remove the subscription to the schema table
Since dump_tables won't work with the schema table (and works different to what
I had understood anyways) I don't think it's worth it to subscribe to the
table, and it's probably better to just modify the config file through
rabbit_node_monitor.
Matthias Radestock <matthias@rabbitmq.com> [Wed, 09 May 2012 22:08:43 +0100] rev 9530
refactor
Francesco Mazzoli <francesco@rabbitmq.com> [Wed, 09 May 2012 17:46:43 +0100] rev 9529
dumping schema table on changes in ram nodes
Francesco Mazzoli <francesco@rabbitmq.com> [Wed, 09 May 2012 17:12:20 +0100] rev 9528
merge default
Francesco Mazzoli <francesco@rabbitmq.com> [Wed, 09 May 2012 15:14:14 +0100] rev 9527
`proplists:get_bool/2' does not do what I think it did, using `lookup/2'
tim [Wed, 09 May 2012 13:03:45 +0100] rev 9526
check for a new pid when registered children die in mirrored_supervisor_tests
Tim Watson <tim.watson@gmail.com> [Wed, 09 May 2012 12:15:41 +0100] rev 9525
rabbitmqctl uses rabbit:await_startup/0
Tim Watson <tim.watson@gmail.com> [Wed, 09 May 2012 10:57:36 +0100] rev 9524
migrate application handling code to app_utils
tim [Tue, 08 May 2012 18:07:58 +0100] rev 9523
do not kill the child explicitly
Tim Watson <tim.watson@gmail.com> [Tue, 08 May 2012 17:55:57 +0100] rev 9522
for bug24362 - assert that worker name is unregistered by the time we get a 'DOWN' notification
Michael Bridgen <mikeb@rabbitmq.com> [Tue, 08 May 2012 16:38:22 +0100] rev 9521
Include the SSL options in the ssl record, so it can be examined by e.g., rabbit_auth_mechanism_ssl
Michael Bridgen <mikeb@rabbitmq.com> [Fri, 04 May 2012 11:22:13 +0100] rev 9520
Merge default
Simon MacMullen <simon@rabbitmq.com> [Tue, 08 May 2012 14:04:30 +0100] rev 9519
Oops
Tim Watson <tim.watson@gmail.com> [Tue, 08 May 2012 09:31:49 +0100] rev 9518
rename start_cold to boot
Tim Watson <tim.watson@gmail.com> [Tue, 08 May 2012 09:22:18 +0100] rev 9517
revert deleted comment explaining why we're sleeping for 100ms on startup
Tim Watson <tim.watson@gmail.com> [Fri, 04 May 2012 17:42:00 +0100] rev 9516
do not overwrite RABBITMQ_PLUGINS_DIR on windows
Tim Watson <tim@rabbitmq.com> [Fri, 04 May 2012 17:08:05 +0100] rev 9515
apply startup changes to windows service batch utility
Tim Watson <tim@rabbitmq.com> [Fri, 04 May 2012 16:56:01 +0100] rev 9514
fix windows batch file code path handling during cold starts
Francesco Mazzoli <francesco@rabbitmq.com> [Fri, 04 May 2012 16:46:35 +0100] rev 9513
forgot to change the arity of init_db in the export
Francesco Mazzoli <francesco@rabbitmq.com> [Fri, 04 May 2012 16:41:17 +0100] rev 9512
re-added a boolean parameter to init_db to prevent upgrading
Francesco Mazzoli <francesco@rabbitmq.com> [Fri, 04 May 2012 16:27:56 +0100] rev 9511
remove the fun argument in `rabbit_mnesia:init_db/3'.
Francesco Mazzoli <francesco@rabbitmq.com> [Fri, 04 May 2012 16:14:19 +0100] rev 9510
merge bug24914
Tim Watson <tim@rabbitmq.com> [Fri, 04 May 2012 13:59:45 +0100] rev 9509
attempt to make rabbitmq-server.bat behave like it's unix cousin
Tim Watson <tim@rabbitmq.com> [Fri, 04 May 2012 13:31:25 +0100] rev 9508
ensure that all dependent applications are stopped when shutting down the broker without halting the emulator
Tim Watson <tim@rabbitmq.com> [Fri, 04 May 2012 12:28:27 +0100] rev 9507
move application lifecycle (loading) into one place - rabbit_misc
Tim Watson <tim@rabbitmq.com> [Fri, 04 May 2012 12:04:43 +0100] rev 9506
plugin environment bootstrap and introspection code moved to rabbit_plugins
Tim Watson <tim@rabbitmq.com> [Fri, 04 May 2012 11:19:32 +0100] rev 9505
rabbitmq-server uses start_cold
Tim Watson <tim@rabbitmq.com> [Fri, 04 May 2012 11:18:53 +0100] rev 9504
start and start_cold both defer to rabbit_misc to calculate application load order
Tim Watson <tim@rabbitmq.com> [Fri, 04 May 2012 11:15:40 +0100] rev 9503
rabbit_prelaunch only checks for duplicate node names
Tim Watson <tim.watson@gmail.com> [Thu, 03 May 2012 18:51:57 +0100] rev 9502
add rabbit:start_cold/0 without relying on release/boot-script
Simon MacMullen <simon@rabbitmq.com> [Fri, 04 May 2012 13:55:26 +0100] rev 9501
pmon is very much hipe-worthy.
Emile Joubert <emile@rabbitmq.com> [Fri, 04 May 2012 11:59:25 +0100] rev 9500
Merged bug24889 into default
Francesco Mazzoli <francesco@rabbitmq.com> [Fri, 04 May 2012 10:45:32 +0100] rev 9499
don't try to disconnet from nodes on `rabbit_mnesia:reset/1' and Force=true
This is the behaviour we had before, and trying to disconnect all the necessary
nodes without connecting to mnesia first is tricky (the previous solution was
very brittle, e.g. the tests break because we disconnect the coverage node).
Matthias Radestock <matthias@rabbitmq.com> [Fri, 04 May 2012 10:25:08 +0100] rev 9498
cosmetic
Matthias Radestock <matthias@rabbitmq.com> [Fri, 04 May 2012 09:59:06 +0100] rev 9497
cosmetic
Simon MacMullen <simon@rabbitmq.com> [Thu, 03 May 2012 18:21:32 +0100] rev 9496
Merge bug24729 (again)
Simon MacMullen <simon@rabbitmq.com> [Thu, 03 May 2012 18:20:53 +0100] rev 9495
Fiddle with comments
Francesco Mazzoli <francesco@rabbitmq.com> [Thu, 03 May 2012 17:57:52 +0100] rev 9494
fix the rabbitmqctl node detection
Simon MacMullen <simon@rabbitmq.com> [Thu, 03 May 2012 17:48:55 +0100] rev 9493
Merge bug 24901
Francesco Mazzoli <francesco@rabbitmq.com> [Thu, 03 May 2012 17:31:44 +0100] rev 9492
disconnect from nodes when Force=true.
Right now I'm using a quite ugly hack to be sure to exclude the rabbitmqctl
node, better ideas are welcome.
Matthias Radestock <matthias@rabbitmq.com> [Thu, 03 May 2012 16:37:29 +0100] rev 9491
cosmetic
Simon MacMullen <simon@rabbitmq.com> [Thu, 03 May 2012 16:08:12 +0100] rev 9490
Don't use an untrappable kill.
Simon MacMullen <simon@rabbitmq.com> [Thu, 03 May 2012 16:07:07 +0100] rev 9489
Switch to monitoring the overall supervisor.
Francesco Mazzoli <francesco@rabbitmq.com> [Thu, 03 May 2012 15:38:00 +0100] rev 9488
remove io:format
Francesco Mazzoli <francesco@rabbitmq.com> [Thu, 03 May 2012 15:31:30 +0100] rev 9487
`rabbit_mnesia:reset/1' did not get the running cluster nodes correctly
Simon MacMullen <simon@rabbitmq.com> [Thu, 03 May 2012 13:21:52 +0100] rev 9486
Junk bug 24362
Simon MacMullen <simon@rabbitmq.com> [Thu, 03 May 2012 13:21:01 +0100] rev 9485
Revert 9d59000c4a44, 38eb4652c7e3, f6d1609212f9, e1311dd42eba (timeout changes for mirrored_sup tests)
Simon MacMullen <simon@rabbitmq.com> [Thu, 03 May 2012 13:18:23 +0100] rev 9484
Revert aa8a9e4d1bb2 (extra debugging for mirrored_supervisor)
Matthias Radestock <matthias@rabbitmq.com> [Thu, 03 May 2012 11:48:10 +0100] rev 9483
cosmetic
Francesco Mazzoli <francesco@rabbitmq.com> [Thu, 03 May 2012 09:35:33 +0100] rev 9482
oops, had left io:format in the code
Francesco Mazzoli <francesco@rabbitmq.com> [Wed, 02 May 2012 16:15:12 +0100] rev 9481
record only disc nodes in the config
Francesco Mazzoli <francesco@rabbitmq.com> [Wed, 02 May 2012 16:07:04 +0100] rev 9480
change config to a {[node()], boolean()} tuple.
Michael Bridgen <mikeb@rabbitmq.com> [Wed, 02 May 2012 16:02:49 +0100] rev 9479
Merge default
Francesco Mazzoli <francesco@rabbitmq.com> [Wed, 02 May 2012 14:48:01 +0100] rev 9478
fix `rabbit_mnesia:create_cluster_nodes_config/2'
Francesco Mazzoli <francesco@rabbitmq.com> [Wed, 02 May 2012 14:22:12 +0100] rev 9477
Add join_cluster, chang the way cluster config works
The arguments of `join_cluster' are a set of nodes to use to discover the disc
nodes present in the cluster. The old `cluster' command now emits a warning
and is actually `join_cluster'. I still need to make the configurations update
when a new disc node joins the cluster.
The node's cluster config now stores the discovered nodes and whether
the current node is on disc or not. This is less hackish then the previous
solutions (the node is on disc if it's included in the list of cluster nodes
in the config), and makes some code in `rabbit_upgrade' nicer. Note that this
might change in the future anyways, since it doesn't make much sense for a disc
node to have that kind of config.
Things that I'm not sure of:
* What does `force' mean in this context. Right now I left the
`force_cluster' command in place, and it calls
`rabbit_mnesia:force_cluster' as before. The only difference between force
and not force is that when `force = true' and the node cannot discover the
disc nodes, it simply uses the provided nodes. I'm not sure this is
desirable, but since `force' means "make it work even if the nodes are
offline" (at least in this context), I think it's the only way out. The
differences between force/non force in `rabbit_mnesia:init_db/4' remain the
same as before.
* What do we do with old configurations. Right now I simply check how
they're formed and convert them to the new format, but I'm not sure if it's
better to update the file or not. Again this might change since in the
future I'll have to set up a way to update the config file anyways.
Simon MacMullen <simon@rabbitmq.com> [Tue, 01 May 2012 18:19:17 +0100] rev 9476
Fix for R12B-3 that was broken by bug 24196.
Francesco Mazzoli <francesco@rabbitmq.com> [Tue, 01 May 2012 17:35:48 +0100] rev 9475
fix typo and opt checking
Francesco Mazzoli <francesco@rabbitmq.com> [Tue, 01 May 2012 16:39:30 +0100] rev 9474
use pp flag isntead of re-writing the flag
Simon MacMullen <simon@rabbitmq.com> [Tue, 01 May 2012 16:24:38 +0100] rev 9473
A bit more debugging information on why we might get an error back from the delegate.
Francesco Mazzoli <francesco@rabbitmq.com> [Tue, 01 May 2012 16:11:21 +0100] rev 9472
Removed unused types, added dummy -spec to silence compiler
Francesco Mazzoli <francesco@rabbitmq.com> [Tue, 01 May 2012 16:06:09 +0100] rev 9471
merge default
Francesco Mazzoli <francesco@rabbitmq.com> [Tue, 01 May 2012 14:52:01 +0100] rev 9470
Check that options are not used in the wrong place
Francesco Mazzoli <francesco@rabbitmq.com> [Wed, 25 Apr 2012 10:52:47 +0100] rev 9469
merge default
Simon MacMullen <simon@rabbitmq.com> [Tue, 01 May 2012 12:26:18 +0100] rev 9468
Merge bug 24196.
Simon MacMullen <simon@rabbitmq.com> [Mon, 30 Apr 2012 16:01:39 +0100] rev 9467
Log errors when children fail to start.
Emile Joubert <emile@rabbitmq.com> [Mon, 30 Apr 2012 15:54:49 +0100] rev 9466
Fix typo in debian control file
Simon MacMullen <simon@rabbitmq.com> [Mon, 30 Apr 2012 13:08:38 +0100] rev 9465
Merge heads
Simon MacMullen <simon@rabbitmq.com> [Mon, 30 Apr 2012 12:31:24 +0100] rev 9464
Added tag rabbitmq_v2_8_2 for changeset 4136141f70b9
Matthias Radestock <matthias@rabbitmq.com> [Sun, 29 Apr 2012 22:08:11 +0100] rev 9463
another attempt to track down the mirrored_supervisor_tests CI failure
waiting forever is all very well...except when we *expect* a failure
Matthias Radestock <matthias@rabbitmq.com> [Fri, 27 Apr 2012 19:52:38 +0100] rev 9462
cosmetic
Matthias Radestock <matthias@rabbitmq.com> [Fri, 27 Apr 2012 19:43:55 +0100] rev 9461
let's wait forever
...so we can investigate what is going since this fails in CI even
with a 1 minute timeout
Matthias Radestock <matthias@rabbitmq.com> [Fri, 27 Apr 2012 19:36:14 +0100] rev 9460
bug: code_change/3 should return {ok, State}
Simon MacMullen <simon@rabbitmq.com> [Fri, 27 Apr 2012 14:13:11 +0100] rev 9459
Merge bug24911
Matthias Radestock <matthias@rabbitmq.com> [Fri, 27 Apr 2012 13:17:05 +0100] rev 9458
another attempt at pacifying the CI gods
Simon MacMullen <simon@rabbitmq.com> [Fri, 27 Apr 2012 12:11:05 +0100] rev 9457
Display things that are strings as strings rather than terms, since Erlang's string-detection algorithm breaks on non-ASCII characters. Assume that ~p's use of quotation marks was a deliberate aesthetic choice.
Matthias Radestock <matthias@rabbitmq.com> [Fri, 27 Apr 2012 11:10:49 +0100] rev 9456
properly ignore dynamic children that return 'ignore' from init/1
thus preventing an explosion on supervisor shutdown when we would
otherwise trip over unlinking an 'undefined' pid.
Simon MacMullen <simon@rabbitmq.com> [Thu, 26 Apr 2012 14:55:41 +0100] rev 9455
Merge bug24909
Emile Joubert <emile@rabbitmq.com> [Thu, 26 Apr 2012 14:23:04 +0100] rev 9454
Report error better in case disk free check fails
Emile Joubert <emile@rabbitmq.com> [Thu, 26 Apr 2012 14:16:38 +0100] rev 9453
Correct disk free checking command on windows
Simon MacMullen <simon@rabbitmq.com> [Thu, 26 Apr 2012 11:44:12 +0100] rev 9452
Share the exchange scratch space
Matthias Radestock <matthias@rabbitmq.com> [Thu, 26 Apr 2012 11:32:59 +0100] rev 9451
bump the mirror_supervisor_tests wait time to reduce ci failure rate
Emile Joubert <emile@rabbitmq.com> [Wed, 25 Apr 2012 15:13:04 +0100] rev 9450
Merged bug24866 into default
Simon MacMullen <simon@rabbitmq.com> [Wed, 25 Apr 2012 14:17:57 +0100] rev 9449
Merge bug 24790
Simon MacMullen <simon@rabbitmq.com> [Wed, 25 Apr 2012 13:35:02 +0100] rev 9448
One less substitution. Pity RHEL and SUSE also differ gratuitously.
Simon MacMullen <simon@rabbitmq.com> [Wed, 25 Apr 2012 13:32:27 +0100] rev 9447
Move the Debian init script to its natural place
Simon MacMullen <simon@rabbitmq.com> [Wed, 25 Apr 2012 13:32:04 +0100] rev 9446
Move the remaining common init script to RPMs
Simon MacMullen <simon@rabbitmq.com> [Wed, 25 Apr 2012 12:24:40 +0100] rev 9445
Merge bug24884
Emile Joubert <emile@rabbitmq.com> [Wed, 25 Apr 2012 11:49:04 +0100] rev 9444
Allow stopping stopped; and starting started broker
Consistency and description
Simon MacMullen <simon@rabbitmq.com> [Tue, 24 Apr 2012 18:06:52 +0100] rev 9443
Add an abstraction for reading the scratch
Simon MacMullen <simon@rabbitmq.com> [Tue, 24 Apr 2012 17:50:00 +0100] rev 9442
Rework event serialisation thing so that decorators get a say too. It's a bit fiddly since we have to ensure that just because a decorator wants serials, doesn't mean everything else has to get them...
Emile Joubert <emile@rabbitmq.com> [Tue, 24 Apr 2012 17:33:26 +0100] rev 9441
lsb init script for debian
Francesco Mazzoli <francesco@rabbitmq.com> [Tue, 24 Apr 2012 16:00:56 +0100] rev 9440
Add comment explaining why ack() and state() exist.
Francesco Mazzoli <francesco@rabbitmq.com> [Tue, 24 Apr 2012 14:34:56 +0100] rev 9439
Update the msg_id_ack in set_length.
Simon MacMullen <simon@rabbitmq.com> [Tue, 24 Apr 2012 14:32:57 +0100] rev 9438
Merge bug24196
Simon MacMullen <simon@rabbitmq.com> [Tue, 24 Apr 2012 13:00:04 +0100] rev 9437
Merge bug24848
Simon MacMullen <simon@rabbitmq.com> [Tue, 24 Apr 2012 12:59:46 +0100] rev 9436
Cosmetic. Ish.
Emile Joubert <emile@rabbitmq.com> [Mon, 23 Apr 2012 17:57:11 +0100] rev 9435
Merged bug24885 into default
Simon MacMullen <simon@rabbitmq.com> [Mon, 23 Apr 2012 17:06:57 +0100] rev 9434
Merge bug24877
Simon MacMullen <simon@rabbitmq.com> [Mon, 23 Apr 2012 16:59:16 +0100] rev 9433
755 is wrong, this should not be executable. Somehow it ends up not executable anyway, but we shouldn't say it is...
Simon MacMullen <simon@rabbitmq.com> [Mon, 23 Apr 2012 16:58:44 +0100] rev 9432
I don't think we need a licence header, and it's intimidating. Rephrase a bit too.
Francesco Mazzoli <francesco@rabbitmq.com> [Mon, 23 Apr 2012 17:05:51 +0100] rev 9431
AckMsgs -> AckRequired in master:purge
Francesco Mazzoli <francesco@rabbitmq.com> [Mon, 23 Apr 2012 17:03:25 +0100] rev 9430
merge bug24885
Francesco Mazzoli <francesco@rabbitmq.com> [Mon, 23 Apr 2012 16:52:31 +0100] rev 9429
Damn sleep in Makefile...
Francesco Mazzoli <francesco@rabbitmq.com> [Mon, 23 Apr 2012 16:51:06 +0100] rev 9428
Make rabbit_variable_queue:dropwhile tail recursive
Francesco Mazzoli <francesco@rabbitmq.com> [Mon, 23 Apr 2012 16:37:28 +0100] rev 9427
merge emile qc changes
Francesco Mazzoli <francesco@rabbitmq.com> [Mon, 23 Apr 2012 16:35:43 +0100] rev 9426
Clearer var naming in BQ:dropwhile. Fix in amqqueue_process:drop_expired_messages.
Also, corrected the dropwhile-related comments in rabbit_backing_queue.
For what concerns the fix in drop_expired_messages, I was wrongly generating
acktags for dead messages not to be dead-lettered.
Emile Joubert <emile@rabbitmq.com> [Mon, 23 Apr 2012 16:04:50 +0100] rev 9425
QuickCheck follows dropwhile API updates
Emile Joubert <emile@rabbitmq.com> [Mon, 23 Apr 2012 14:30:33 +0100] rev 9424
Merged bug24833 into default
Simon MacMullen <simon@rabbitmq.com> [Mon, 23 Apr 2012 14:03:14 +0100] rev 9423
Increase buffer size for the port driver to match that used by the underlying socket.
Simon MacMullen <simon@rabbitmq.com> [Mon, 23 Apr 2012 13:52:39 +0100] rev 9422
Merge heads
Simon MacMullen <simon@rabbitmq.com> [Mon, 23 Apr 2012 13:51:17 +0100] rev 9421
Junk bug24866
Simon MacMullen <simon@rabbitmq.com> [Fri, 20 Apr 2012 16:44:08 +0100] rev 9420
Merge bug24860
Emile Joubert <emile@rabbitmq.com> [Mon, 23 Apr 2012 13:49:17 +0100] rev 9419
Reorder exception contents