17 months agoError message readability bug23482
Emile Joubert <emile@rabbitmq.com> [Tue, 07 Dec 2010 13:09:15 +0000] rev 5628
Error message readability

17 months agoRemove redundant code bug23482
Emile Joubert <emile@rabbitmq.com> [Tue, 07 Dec 2010 12:57:36 +0000] rev 5627
Remove redundant code

17 months agoPerform duplicate node check in a function bug23482
Emile Joubert <emile@rabbitmq.com> [Tue, 07 Dec 2010 12:48:58 +0000] rev 5626
Perform duplicate node check in a function

17 months agoCope with absence of epmd while performing pre-launch checks bug23482
Emile Joubert <emile@rabbitmq.com> [Tue, 07 Dec 2010 12:29:59 +0000] rev 5625
Cope with absence of epmd while performing pre-launch checks

17 months agoReimplement or manually merge all past changes for 23329 onto new head of default. In general the code's a bit cleaner due to better apis within msg_store generally bug23329
Matthew Sackman <matthew@rabbitmq.com> [Mon, 06 Dec 2010 15:08:51 +0000] rev 5624
Reimplement or manually merge all past changes for 23329 onto new head of default. In general the code's a bit cleaner due to better apis within msg_store generally

17 months agoMerging bug23329 into junk (so bitrotted, better to start from scratch) junk
Matthew Sackman <matthew@rabbitmq.com> [Mon, 06 Dec 2010 13:21:49 +0000] rev 5623
Merging bug23329 into junk (so bitrotted, better to start from scratch)

17 months agoDemonstrate protocol_error. bug23467
Simon MacMullen <simon@rabbitmq.com> [Mon, 06 Dec 2010 14:59:55 +0000] rev 5622
Demonstrate protocol_error.

17 months agoBetter diagnostics when authentication fails. bug23467
Simon MacMullen <simon@rabbitmq.com> [Mon, 06 Dec 2010 13:58:01 +0000] rev 5621
Better diagnostics when authentication fails.

17 months agoMerge default into bug 23554 bug23554
Matthew Sackman <matthew@rabbitmq.com> [Mon, 06 Dec 2010 13:05:18 +0000] rev 5620
Merge default into bug 23554

17 months agoMerge default into bug 23554 (epic debitrot) bug23554
Matthew Sackman <matthew@rabbitmq.com> [Mon, 06 Dec 2010 13:04:29 +0000] rev 5619
Merge default into bug 23554 (epic debitrot)

17 months agoRip out old persister as it no longer works given the arrival of pub acks
Matthew Sackman <matthew@rabbitmq.com> [Mon, 06 Dec 2010 13:04:06 +0000] rev 5618
Rip out old persister as it no longer works given the arrival of pub acks

17 months agoCorrection of specs.
Matthew Sackman <matthew@rabbitmq.com> [Mon, 06 Dec 2010 12:39:53 +0000] rev 5617
Correction of specs.

17 months agoMinor correction
Matthew Sackman <matthew@rabbitmq.com> [Mon, 06 Dec 2010 12:06:01 +0000] rev 5616
Minor correction

17 months agoadd missing case bug23201
Alexandru Scvortov <alexandru@rabbitmq.com> [Mon, 06 Dec 2010 11:55:16 +0000] rev 5615
add missing case

17 months agoadd stats for confirms bug23201
Alexandru Scvortov <alexandru@rabbitmq.com> [Mon, 06 Dec 2010 10:48:30 +0000] rev 5614
add stats for confirms

To recap, a published message is confirmed by the channel. A message
is confirmed only after all the queues it was published to confirm it.

With the current change, the emitted stats look like this:

{channel_exchange_stats,
[{{resource,<<"/">>,exchange,<<"direct">>},
[{confirm,545},{publish,545}]}]},
{channel_queue_exchange_stats,
[{{<0.204.0>,{resource,<<"/">>,exchange,<<"direct">>}},
[{confirm,545},{publish,545}]},
{{<0.195.0>,{resource,<<"/">>,exchange,<<"direct">>}},
[{confirm,545},{publish,545}]}]}]

The confirm field in channel_exchange_stats represents the number of
messages sent to that exchange that have also been confirmed. If the
exchanged routed the message to different queues, this number is only
increased when all queues have confirmed the message. If the message
was unroutable or was routed to 0 queues, this number is still
increased. This is the number of basic.confirms sent back to
publisher.

The confirm field in channel_queue_exchange_stats represents the
number of messages confirmed by that queue (but not necessarily
confirmed by the channel).

In channel_exchange_stats, if the number of confirms lags behind the
number of publishes, one of the queues is not confirming messages in a
timely fashion.

17 months agofix to compile and run under R12B5 bug23565
Alexandru Scvortov <alexandru@rabbitmq.com> [Thu, 02 Dec 2010 10:05:29 +0000] rev 5613
fix to compile and run under R12B5

17 months agomerge default into bug23201 bug23201
Alexandru Scvortov <alexandru@rabbitmq.com> [Wed, 01 Dec 2010 12:43:27 +0000] rev 5612
merge default into bug23201

17 months agocosmetic
Matthias Radestock <matthias@rabbitmq.com> [Sun, 05 Dec 2010 19:31:22 +0000] rev 5611
cosmetic

17 months agocosmetic
Matthias Radestock <matthias@rabbitmq.com> [Sun, 05 Dec 2010 18:57:19 +0000] rev 5610
cosmetic

17 months agocosmetic: rename field/var
Matthias Radestock <matthias@rabbitmq.com> [Thu, 02 Dec 2010 21:05:52 +0000] rev 5609
cosmetic: rename field/var

17 months agocosmetic
Matthias Radestock <matthias@rabbitmq.com> [Thu, 02 Dec 2010 21:00:30 +0000] rev 5608
cosmetic

17 months agoFix bug23232
Simon MacMullen <simon@rabbitmq.com> [Fri, 03 Dec 2010 16:16:59 +0000] rev 5607
Fix

17 months agoConsistency with other events. bug23232
Simon MacMullen <simon@rabbitmq.com> [Fri, 03 Dec 2010 16:11:58 +0000] rev 5606
Consistency with other events.

17 months agoCosmetic bug23232
Simon MacMullen <simon@rabbitmq.com> [Fri, 03 Dec 2010 16:05:59 +0000] rev 5605
Cosmetic

17 months agoFix bug23232
Simon MacMullen <simon@rabbitmq.com> [Fri, 03 Dec 2010 16:03:28 +0000] rev 5604
Fix

17 months agoOops. bug23232
Simon MacMullen <simon@rabbitmq.com> [Fri, 03 Dec 2010 15:55:23 +0000] rev 5603
Oops.

17 months agoAdd consumer created / deleted events. bug23232
Simon MacMullen <simon@rabbitmq.com> [Fri, 03 Dec 2010 15:31:13 +0000] rev 5602
Add consumer created / deleted events.

17 months agoConsistent prelaunch checks on windows bug23482
Emile Joubert <emile@rabbitmq.com> [Fri, 03 Dec 2010 11:13:14 +0000] rev 5601
Consistent prelaunch checks on windows

17 months agoRedid bug23056 changes atop newer base. bug23056
John DeTreville <jdetreville@vmware.com> [Thu, 02 Dec 2010 18:01:25 -0800] rev 5600
Redid bug23056 changes atop newer base.

17 months agoRunning "hg rm". junk
John DeTreville <jdetreville@vmware.com> [Thu, 02 Dec 2010 15:40:25 -0800] rev 5599
Running "hg rm".

17 months agoMerged bug23056 into junk; I sure hope that doesn't break anything. junk
John DeTreville <jdetreville@vmware.com> [Thu, 02 Dec 2010 15:16:08 -0800] rev 5598
Merged bug23056 into junk; I sure hope that doesn't break anything.

17 months agoAdd method name into the error tuple. bug23566
Simon MacMullen <simon@rabbitmq.com> [Thu, 02 Dec 2010 16:20:01 +0000] rev 5597
Add method name into the error tuple.

17 months agoSimplify bug23566
Simon MacMullen <simon@rabbitmq.com> [Thu, 02 Dec 2010 15:15:06 +0000] rev 5596
Simplify

17 months agoOnly look for AMQP errors in exits. bug23566
Simon MacMullen <simon@rabbitmq.com> [Thu, 02 Dec 2010 15:07:01 +0000] rev 5595
Only look for AMQP errors in exits.

17 months agoRemove quotes bug23566
Simon MacMullen <simon@rabbitmq.com> [Thu, 02 Dec 2010 14:44:07 +0000] rev 5594
Remove quotes

17 months agoMore robust SASL PLAIN parsing - cope with any number of \0's being present without falling over. bug23566
Simon MacMullen <simon@rabbitmq.com> [Thu, 02 Dec 2010 14:15:49 +0000] rev 5593
More robust SASL PLAIN parsing - cope with any number of \0's being present without falling over.

17 months agoCatch all types of exceptions, preserve the stack trace in the event that we have a non-AMQP error. bug23566
Simon MacMullen <simon@rabbitmq.com> [Thu, 02 Dec 2010 14:01:22 +0000] rev 5592
Catch all types of exceptions, preserve the stack trace in the event that we have a non-AMQP error.

17 months agoMerge heads
Simon MacMullen <simon@rabbitmq.com> [Thu, 02 Dec 2010 12:58:56 +0000] rev 5591
Merge heads

17 months agoMerged bug23532 into default
Simon MacMullen <simon@rabbitmq.com> [Thu, 02 Dec 2010 12:40:01 +0000] rev 5590
Merged bug23532 into default

17 months agoTone down the claims in the optimisation comment. bug23532
Simon MacMullen <simon@rabbitmq.com> [Thu, 02 Dec 2010 12:39:32 +0000] rev 5589
Tone down the claims in the optimisation comment.

17 months agoMerge from default bug23568
David Wragg <david@rabbitmq.com> [Thu, 02 Dec 2010 12:32:21 +0000] rev 5588
Merge from default

17 months agoMerge bug23522 to junk. junk
Simon MacMullen <simon@rabbitmq.com> [Thu, 02 Dec 2010 12:12:10 +0000] rev 5587
Merge bug23522 to junk.

17 months agoMerged bug23565 into default
Rob Harrop <rob@rabbitmq.com> [Thu, 02 Dec 2010 12:05:25 +0000] rev 5586
Merged bug23565 into default

17 months agoAdded cosmetic change suggested in the bug report bug23565
Rob Harrop <rob@rabbitmq.com> [Thu, 02 Dec 2010 12:02:29 +0000] rev 5585
Added cosmetic change suggested in the bug report

17 months agofix to compile and run under R12B5 bug23565
Alexandru Scvortov <alexandru@rabbitmq.com> [Thu, 02 Dec 2010 10:05:29 +0000] rev 5584
fix to compile and run under R12B5

17 months agoMerged bug23567 into default
Rob Harrop <rob@rabbitmq.com> [Thu, 02 Dec 2010 10:58:03 +0000] rev 5583
Merged bug23567 into default

17 months agosimplify multiple confirm code bug23567
Alexandru Scvortov <alexandru@rabbitmq.com> [Thu, 02 Dec 2010 09:03:04 +0000] rev 5582
simplify multiple confirm code

17 months agoMerged bug23448 into default
Rob Harrop <rob@rabbitmq.com> [Wed, 01 Dec 2010 14:16:33 +0000] rev 5581
Merged bug23448 into default

17 months agoDiagnostics on node start failure bug23482
Emile Joubert <emile@rabbitmq.com> [Wed, 01 Dec 2010 12:32:52 +0000] rev 5580
Diagnostics on node start failure

17 months agoRemove should_offer/1. bug23467
Simon MacMullen <simon@rabbitmq.com> [Tue, 30 Nov 2010 18:16:05 +0000] rev 5579
Remove should_offer/1.

17 months agoRename plugin_activator to prelaunch bug23482
Emile Joubert <emile@rabbitmq.com> [Tue, 30 Nov 2010 15:58:14 +0000] rev 5578
Rename plugin_activator to prelaunch

17 months agoCheck if nodename is available before startup bug23482
Emile Joubert <emile@rabbitmq.com> [Tue, 30 Nov 2010 15:57:26 +0000] rev 5577
Check if nodename is available before startup

17 months agoMerged bug20284 into default
Rob Harrop <rob@rabbitmq.com> [Tue, 30 Nov 2010 13:53:43 +0000] rev 5576
Merged bug20284 into default

17 months agocosmetic: put rabbit_net exports, specs, and funs in sensible order
Matthias Radestock <matthias@rabbitmq.com> [Tue, 30 Nov 2010 12:50:15 +0000] rev 5575
cosmetic: put rabbit_net exports, specs, and funs in sensible order
and consistent too

17 months agoexperiment with uing {active,once} instead of prim_inet:async_recv bug23559
Matthias Radestock <matthias@rabbitmq.com> [Tue, 30 Nov 2010 12:20:12 +0000] rev 5574
experiment with uing {active,once} instead of prim_inet:async_recv

17 months agoExposing the publishing chpid right through to the BQ (and tidying up tests/types/specs) bug23554
Matthew Sackman <matthew@rabbitmq.com> [Tue, 30 Nov 2010 12:05:37 +0000] rev 5573
Exposing the publishing chpid right through to the BQ (and tidying up tests/types/specs)

17 months agoAdded tag rabbitmq_v2_2_0 for changeset c9a2e7f3f5e9
Rob Harrop <rob@rabbitmq.com> [Tue, 30 Nov 2010 10:49:52 +0000] rev 5572
Added tag rabbitmq_v2_2_0 for changeset c9a2e7f3f5e9

17 months agoChangelogs for the 2.2.0 release rabbitmq_v2_2_0
Rob Harrop <rob@rabbitmq.com> [Tue, 30 Nov 2010 10:48:30 +0000] rev 5571
Changelogs for the 2.2.0 release

17 months agoMake the tests work again. Also mirror_pids => extra_pids on the basis that it could be reusable for other purposes bug23554
Matthew Sackman <matthew@rabbitmq.com> [Mon, 29 Nov 2010 17:20:26 +0000] rev 5570
Make the tests work again. Also mirror_pids => extra_pids on the basis that it could be reusable for other purposes

17 months agoLesser of many evils... bug23554
Matthew Sackman <matthew@rabbitmq.com> [Mon, 29 Nov 2010 16:37:03 +0000] rev 5569
Lesser of many evils...

17 months agoIntroduce some abstraction, reducing duplicate calls bug23445
Emile Joubert <emile@rabbitmq.com> [Mon, 29 Nov 2010 12:57:55 +0000] rev 5568
Introduce some abstraction, reducing duplicate calls

17 months agoPresent the whole amqqueue record to the BQ (remove duplicated IsDurable flag, correct BQ callbacks) bug23554
Matthew Sackman <matthew@rabbitmq.com> [Mon, 29 Nov 2010 12:40:52 +0000] rev 5567
Present the whole amqqueue record to the BQ (remove duplicated IsDurable flag, correct BQ callbacks)

17 months agoPresent the whole amqqueue record to the BQ bug23554
Matthew Sackman <matthew@rabbitmq.com> [Mon, 29 Nov 2010 12:33:31 +0000] rev 5566
Present the whole amqqueue record to the BQ

17 months agoAdded mechanism to dynamically choose the backing queue module. Ideally, this'll end up using the generic registry that's part of bug 23467 and allow plugins to register this stuff on boot bug23554
Matthew Sackman <matthew@rabbitmq.com> [Mon, 29 Nov 2010 12:19:59 +0000] rev 5565
Added mechanism to dynamically choose the backing queue module. Ideally, this'll end up using the generic registry that's part of bug 23467 and allow plugins to register this stuff on boot

18 months agoexperimental single-frame publish/deliver commands bug23552
Matthias Radestock <matthias@rabbitmq.com> [Sun, 28 Nov 2010 11:15:20 +0000] rev 5564
experimental single-frame publish/deliver commands

18 months agoflesh out writer API for completeness
Matthias Radestock <matthias@rabbitmq.com> [Sun, 28 Nov 2010 10:56:09 +0000] rev 5563
flesh out writer API for completeness

18 months agoIntroduce file_handle_cache:get_obtain_count and get_obtain_limit. bug23533
Marek Majkowski <marek@rabbitmq.com> [Fri, 26 Nov 2010 16:10:24 +0000] rev 5562
Introduce file_handle_cache:get_obtain_count and get_obtain_limit.

18 months agocosmetic bug20284
Rob Harrop <rob@rabbitmq.com> [Thu, 25 Nov 2010 16:41:35 +0000] rev 5561
cosmetic

18 months agoMerge with default bug20284
Rob Harrop <rob@rabbitmq.com> [Thu, 25 Nov 2010 16:28:03 +0000] rev 5560
Merge with default

18 months agoCosmetic bug20284
Rob Harrop <rob@rabbitmq.com> [Thu, 25 Nov 2010 16:27:10 +0000] rev 5559
Cosmetic

18 months agomerge with default bug20284
Rob Harrop <rob@rabbitmq.com> [Thu, 25 Nov 2010 16:08:47 +0000] rev 5558
merge with default

18 months agocosmetic bug20284
Rob Harrop <rob@rabbitmq.com> [Thu, 25 Nov 2010 15:44:56 +0000] rev 5557
cosmetic

18 months agocosmetic
Matthias Radestock <matthias@rabbitmq.com> [Thu, 25 Nov 2010 15:37:12 +0000] rev 5556
cosmetic

18 months agomerging heads together
Rob Harrop <rob@rabbitmq.com> [Thu, 25 Nov 2010 15:33:27 +0000] rev 5555
merging heads together

18 months agoMerge bug23548 into default
Rob Harrop <rob@rabbitmq.com> [Thu, 25 Nov 2010 15:31:44 +0000] rev 5554
Merge bug23548 into default

18 months agocosmetic
Matthew Sackman <matthew@rabbitmq.com> [Thu, 25 Nov 2010 15:26:34 +0000] rev 5553
cosmetic

18 months agobug23547 merged into default
Marek Majkowski <marek@rabbitmq.com> [Thu, 25 Nov 2010 15:24:12 +0000] rev 5552
bug23547 merged into default

18 months agoOpps, they shouldn't have got there...
Matthew Sackman <matthew@rabbitmq.com> [Thu, 25 Nov 2010 15:02:54 +0000] rev 5551
Opps, they shouldn't have got there...

18 months agoOpps, they shouldn't have got there... bug23548
Matthew Sackman <matthew@rabbitmq.com> [Thu, 25 Nov 2010 15:02:15 +0000] rev 5550
Opps, they shouldn't have got there...

18 months agoCope with files not existing (or just being empty) bug23548
Matthew Sackman <matthew@rabbitmq.com> [Thu, 25 Nov 2010 15:00:53 +0000] rev 5549
Cope with files not existing (or just being empty)

18 months agocosmetic changes bug20284
Rob Harrop <rob@rabbitmq.com> [Thu, 25 Nov 2010 15:00:06 +0000] rev 5548
cosmetic changes

18 months agoNo need to open these files at all exclusive. Which is an R14ism anyway.
Matthew Sackman <matthew@rabbitmq.com> [Thu, 25 Nov 2010 14:52:18 +0000] rev 5547
No need to open these files at all exclusive. Which is an R14ism anyway.

18 months agoAbstract out file locking, and revert to not using the R14-ism exclusive flag bug23547
Matthew Sackman <matthew@rabbitmq.com> [Thu, 25 Nov 2010 14:50:14 +0000] rev 5546
Abstract out file locking, and revert to not using the R14-ism exclusive flag

18 months agoMake sure we get the stacktrace out of a boot failure
Matthew Sackman <matthew@rabbitmq.com> [Thu, 25 Nov 2010 14:17:32 +0000] rev 5545
Make sure we get the stacktrace out of a boot failure

18 months agoUpdated portfile as suggested by macports guru bug23448
Marek Majkowski <marek@rabbitmq.com> [Thu, 25 Nov 2010 11:52:54 +0000] rev 5544
Updated portfile as suggested by macports guru

18 months agoIndentation bug23445
Emile Joubert <emile@rabbitmq.com> [Thu, 25 Nov 2010 10:13:30 +0000] rev 5543
Indentation

18 months agoThe resource is not a string. bug23455
Simon MacMullen <simon@rabbitmq.com> [Wed, 24 Nov 2010 18:06:18 +0000] rev 5542
The resource is not a string.

18 months agolet frame interleaving happen bug23532
Matthias Radestock <matthias@rabbitmq.com> [Wed, 24 Nov 2010 17:08:59 +0000] rev 5541
let frame interleaving happen
but still optimise the delivery of short messages

18 months agomerging heads of default
Matthew Sackman <matthew@rabbitmq.com> [Wed, 24 Nov 2010 16:01:57 +0000] rev 5540
merging heads of default

18 months agomerge from default bug20284
Alexandru Scvortov <alexandru@rabbitmq.com> [Wed, 24 Nov 2010 15:04:14 +0000] rev 5539
merge from default

18 months agochange order of tuple elements bug20284
Alexandru Scvortov <alexandru@rabbitmq.com> [Wed, 24 Nov 2010 14:02:54 +0000] rev 5538
change order of tuple elements

18 months agocosmetic bug20284
Alexandru Scvortov <alexandru@rabbitmq.com> [Wed, 24 Nov 2010 13:43:15 +0000] rev 5537
cosmetic

18 months agocosmetic bug20284
Alexandru Scvortov <alexandru@rabbitmq.com> [Wed, 24 Nov 2010 12:51:04 +0000] rev 5536
cosmetic

18 months agocosmetic bug20284
Alexandru Scvortov <alexandru@rabbitmq.com> [Wed, 24 Nov 2010 12:37:54 +0000] rev 5535
cosmetic

18 months agocosmetic + handle missing case bug20284
Alexandru Scvortov <alexandru@rabbitmq.com> [Wed, 24 Nov 2010 11:58:08 +0000] rev 5534
cosmetic + handle missing case

18 months agoremove redundant record field bug20284
Alexandru Scvortov <alexandru@rabbitmq.com> [Wed, 24 Nov 2010 10:38:56 +0000] rev 5533
remove redundant record field

18 months agoDammit. bug23455
Simon MacMullen <simon@rabbitmq.com> [Wed, 24 Nov 2010 13:54:05 +0000] rev 5532
Dammit.

18 months agoexit -> throw seeing as bug 23535 is invalid
Matthew Sackman <matthew@rabbitmq.com> [Wed, 24 Nov 2010 13:43:35 +0000] rev 5531
exit -> throw seeing as bug 23535 is invalid

18 months agoMerging bug23519 into default (again)
Matthew Sackman <matthew@rabbitmq.com> [Wed, 24 Nov 2010 13:38:02 +0000] rev 5530
Merging bug23519 into default (again)

18 months agoMnesia upgrade to convert user to internal_user records. Painful since the built-in Mnesia upgrade system does not let us change the type in a table. bug23455
Simon MacMullen <simon@rabbitmq.com> [Wed, 24 Nov 2010 13:27:24 +0000] rev 5529
Mnesia upgrade to convert user to internal_user records. Painful since the built-in Mnesia upgrade system does not let us change the type in a table.

18 months agoMerge from bug23467 (and hence default) bug23455
Simon MacMullen <simon@rabbitmq.com> [Wed, 24 Nov 2010 11:51:29 +0000] rev 5528
Merge from bug23467 (and hence default)

18 months agoMerge from default bug23467
Simon MacMullen <simon@rabbitmq.com> [Wed, 24 Nov 2010 11:50:11 +0000] rev 5527
Merge from default

18 months agoApplication of M-Q bug23519
Matthew Sackman <matthew@rabbitmq.com> [Wed, 24 Nov 2010 13:20:54 +0000] rev 5526
Application of M-Q

18 months agoRefactoring bug23519
Matthew Sackman <matthew@rabbitmq.com> [Wed, 24 Nov 2010 13:15:05 +0000] rev 5525
Refactoring

18 months agogratuitous cosmetic
Matthew Sackman <matthew@rabbitmq.com> [Wed, 24 Nov 2010 12:38:35 +0000] rev 5524
gratuitous cosmetic

18 months agoMerging bug23519 into default
Matthew Sackman <matthew@rabbitmq.com> [Wed, 24 Nov 2010 12:37:40 +0000] rev 5523
Merging bug23519 into default

18 months agoAdd helpful comment about windows flushing to rabbitmqctl bug23534
Emile Joubert <emile@rabbitmq.com> [Wed, 24 Nov 2010 12:33:50 +0000] rev 5522
Add helpful comment about windows flushing to rabbitmqctl

18 months agoSlower rabbitmqctl shutdown on windows flushes output bug23534
Emile Joubert <emile@rabbitmq.com> [Wed, 24 Nov 2010 11:56:46 +0000] rev 5521
Slower rabbitmqctl shutdown on windows flushes output

18 months agoSpec stuff. bug23455
Simon MacMullen <simon@rabbitmq.com> [Wed, 24 Nov 2010 11:37:19 +0000] rev 5520
Spec stuff.

18 months agoDon't allow the backend to grant access to a vhost which does not otherwise exist! bug23455
Simon MacMullen <simon@rabbitmq.com> [Wed, 24 Nov 2010 11:05:07 +0000] rev 5519
Don't allow the backend to grant access to a vhost which does not otherwise exist!

18 months agoTiny simplifying refactor. bug23467
Simon MacMullen <simon@rabbitmq.com> [Wed, 24 Nov 2010 10:40:16 +0000] rev 5518
Tiny simplifying refactor.

18 months agoMerging bug 23335 into default
Matthew Sackman <matthew@rabbitmq.com> [Tue, 23 Nov 2010 18:12:35 +0000] rev 5517
Merging bug 23335 into default

18 months agoMerging bug 22692 into default
Matthew Sackman <matthew@rabbitmq.com> [Tue, 23 Nov 2010 17:54:04 +0000] rev 5516
Merging bug 22692 into default

18 months agoMerged bug23494 into default
Emile Joubert <emile@rabbitmq.com> [Tue, 23 Nov 2010 17:51:10 +0000] rev 5515
Merged bug23494 into default

18 months agoIt's rather crucial to call reduce_memory_use at the end of publish_delivered if we've added to the acks. Also reorder items in backing_queue_status so that they fit better on my 160-char wide xterms. It's also a bit more logical bug22692
Matthew Sackman <matthew@rabbitmq.com> [Tue, 23 Nov 2010 17:40:09 +0000] rev 5514
It's rather crucial to call reduce_memory_use at the end of publish_delivered if we've added to the acks. Also reorder items in backing_queue_status so that they fit better on my 160-char wide xterms. It's also a bit more logical

18 months agoMerging default into bug22692 bug22692
Matthew Sackman <matthew@rabbitmq.com> [Tue, 23 Nov 2010 17:33:06 +0000] rev 5513
Merging default into bug22692

18 months agocosmetic
Matthias Radestock <matthias@rabbitmq.com> [Tue, 23 Nov 2010 17:22:18 +0000] rev 5512
cosmetic

18 months agomerge bug23531 into default
Matthias Radestock <matthias@rabbitmq.com> [Tue, 23 Nov 2010 17:17:07 +0000] rev 5511
merge bug23531 into default

18 months agoUse internal_send_command, since we're sending to a 'raw' socket bug23531
Michael Bridgen <mikeb@rabbitmq.com> [Tue, 23 Nov 2010 16:07:54 +0000] rev 5510
Use internal_send_command, since we're sending to a 'raw' socket

18 months agoOffer tx and non-tx exchange hooks bug23445
Emile Joubert <emile@rabbitmq.com> [Tue, 23 Nov 2010 14:12:55 +0000] rev 5509
Offer tx and non-tx exchange hooks

18 months agoMerged bug23293 into default (again)
Emile Joubert <emile@rabbitmq.com> [Tue, 23 Nov 2010 13:45:59 +0000] rev 5508
Merged bug23293 into default (again)

18 months agoAnd, err, merge heads.
Simon MacMullen <simon@rabbitmq.com> [Tue, 23 Nov 2010 13:35:41 +0000] rev 5507
And, err, merge heads.

18 months agoMerge amqp_0_9_1 into default.
Simon MacMullen <simon@rabbitmq.com> [Tue, 23 Nov 2010 13:34:54 +0000] rev 5506
Merge amqp_0_9_1 into default.

18 months agoMerge heads of amqp_0_9_1 amqp_0_9_1
Simon MacMullen <simon@rabbitmq.com> [Tue, 23 Nov 2010 13:33:55 +0000] rev 5505
Merge heads of amqp_0_9_1

18 months agore-merge bug21377
Matthias Radestock <matthias@rabbitmq.com> [Tue, 23 Nov 2010 13:11:15 +0000] rev 5504
re-merge bug21377
since it had a dangling head

18 months agomerge heads bug21377
Matthias Radestock <matthias@rabbitmq.com> [Tue, 23 Nov 2010 13:10:41 +0000] rev 5503
merge heads

18 months agoAllow Module:check_vhost_access and check_resource_access to return error tuples too. bug23455
Simon MacMullen <simon@rabbitmq.com> [Tue, 23 Nov 2010 13:11:10 +0000] rev 5502
Allow Module:check_vhost_access and check_resource_access to return error tuples too.

18 months agoFix some whitespace issues, add a note bug23455
Simon MacMullen <simon@rabbitmq.com> [Tue, 23 Nov 2010 11:26:24 +0000] rev 5501
Fix some whitespace issues, add a note

18 months agoMerge bug23186 into default
David Wragg <david@rabbitmq.com> [Tue, 23 Nov 2010 10:58:49 +0000] rev 5500
Merge bug23186 into default

plugin activator should use command line args instead of rabbit env vars

18 months agoMerge bug23513 into default
Rob Harrop <rob@rabbitmq.com> [Tue, 23 Nov 2010 10:03:44 +0000] rev 5499
Merge bug23513 into default

18 months agoLet an auth plugin specify which vhosts a user can see. bug23455
Simon MacMullen <simon@rabbitmq.com> [Mon, 22 Nov 2010 16:04:47 +0000] rev 5498
Let an auth plugin specify which vhosts a user can see.

18 months agoAllow auth backend modules to fail bug23455
Simon MacMullen <simon@rabbitmq.com> [Mon, 22 Nov 2010 13:58:30 +0000] rev 5497
Allow auth backend modules to fail

18 months agoFix accidental renaming of an info item. bug23455
Simon MacMullen <simon@rabbitmq.com> [Mon, 22 Nov 2010 12:48:32 +0000] rev 5496
Fix accidental renaming of an info item.

18 months agoImprove consistency. bug23455
Simon MacMullen <simon@rabbitmq.com> [Mon, 22 Nov 2010 12:38:01 +0000] rev 5495
Improve consistency.

18 months agoMerge bug23523 into default (rabbitmq-asroot-script-wrapper is pointless)
David Wragg <david@rabbitmq.com> [Sat, 20 Nov 2010 01:37:54 +0000] rev 5494
Merge bug23523 into default (rabbitmq-asroot-script-wrapper is pointless)

18 months agoNot sure that's the right approach but at least a) EXTERNAL works via pluggable backends now and b) I've got it out of my head. bug23455
Simon MacMullen <simon@rabbitmq.com> [Fri, 19 Nov 2010 19:54:04 +0000] rev 5493
Not sure that's the right approach but at least a) EXTERNAL works via pluggable backends now and b) I've got it out of my head.

18 months agoIncrease the amount of correctness bug23455
Simon MacMullen <simon@rabbitmq.com> [Fri, 19 Nov 2010 17:00:35 +0000] rev 5492
Increase the amount of correctness

18 months agoMove HOSTNAME and NODENAME to rabbitmq-env bug23511
Emile Joubert <emile@rabbitmq.com> [Fri, 19 Nov 2010 16:50:38 +0000] rev 5491
Move HOSTNAME and NODENAME to rabbitmq-env

18 months agoRemove OS-conditional and use hostname more conservatively bug23511
Emile Joubert <emile@rabbitmq.com> [Fri, 19 Nov 2010 16:34:58 +0000] rev 5490
Remove OS-conditional and use hostname more conservatively

18 months agoBe consistent about refused return bug23467
Simon MacMullen <simon@rabbitmq.com> [Fri, 19 Nov 2010 15:54:42 +0000] rev 5489
Be consistent about refused return

18 months agoMerged default into bug23467 bug23467
Simon MacMullen <simon@rabbitmq.com> [Fri, 19 Nov 2010 15:48:29 +0000] rev 5488
Merged default into bug23467

18 months agoUmm, these are probably important bug23455
Simon MacMullen <simon@rabbitmq.com> [Fri, 19 Nov 2010 15:41:53 +0000] rev 5487
Umm, these are probably important

18 months agoRather impressionistic sketch of how pluggable auth backends might start out. bug23455
Simon MacMullen <simon@rabbitmq.com> [Fri, 19 Nov 2010 15:36:00 +0000] rev 5486
Rather impressionistic sketch of how pluggable auth backends might start out.

18 months agoMake scripts work on Solaris bug23511
Emile Joubert <emile@rabbitmq.com> [Fri, 19 Nov 2010 14:55:20 +0000] rev 5485
Make scripts work on Solaris

18 months agoRemove untrue statement bug23467
Simon MacMullen <simon@rabbitmq.com> [Fri, 19 Nov 2010 12:10:03 +0000] rev 5484
Remove untrue statement

18 months agoAllow people to run commands as non-root/rabbitmq if they have reconfigured stuff to allow this to happen. bug23522
Simon MacMullen <simon@rabbitmq.com> [Thu, 18 Nov 2010 17:21:20 +0000] rev 5483
Allow people to run commands as non-root/rabbitmq if they have reconfigured stuff to allow this to happen.

18 months agoRemove rabbitmq-asroot-script-wrapper bug23523
Simon MacMullen <simon@rabbitmq.com> [Thu, 18 Nov 2010 17:04:53 +0000] rev 5482
Remove rabbitmq-asroot-script-wrapper

18 months agoStop mnesia while taking the backup bug23519
Simon MacMullen <simon@rabbitmq.com> [Thu, 18 Nov 2010 16:22:59 +0000] rev 5481
Stop mnesia while taking the backup

18 months agoTake a backup before upgrading. bug23519
Simon MacMullen <simon@rabbitmq.com> [Thu, 18 Nov 2010 13:25:36 +0000] rev 5480
Take a backup before upgrading.

18 months agoMinor refactorings, and a couple of fixes bug22692
Matthew Sackman <matthew@rabbitmq.com> [Thu, 18 Nov 2010 13:21:26 +0000] rev 5479
Minor refactorings, and a couple of fixes

18 months agoMerge add_internal_to_[exchange|durable_exchange] into single upgrade function. bug23358
Jerry Kuch <jerryk@vmware.com> [Thu, 18 Nov 2010 13:17:14 +0000] rev 5478
Merge add_internal_to_[exchange|durable_exchange] into single upgrade function.

Per Simon's feedback---they really belong together.

18 months agoOne head is better than two
Matthew Sackman <matthew@rabbitmq.com> [Thu, 18 Nov 2010 12:23:23 +0000] rev 5477
One head is better than two

18 months agoMerging bug bug23498 to default
Matthew Sackman <matthew@rabbitmq.com> [Thu, 18 Nov 2010 12:05:08 +0000] rev 5476
Merging bug bug23498 to default

18 months agoMerging bug23505 into default
Matthew Sackman <matthew@rabbitmq.com> [Thu, 18 Nov 2010 11:56:07 +0000] rev 5475
Merging bug23505 into default

18 months agoMerged bug 23424 into default
Simon MacMullen <simon@rabbitmq.com> [Thu, 18 Nov 2010 11:47:19 +0000] rev 5474
Merged bug 23424 into default

18 months agomerge heads
Matthias Radestock <matthias@rabbitmq.com> [Wed, 17 Nov 2010 23:26:05 +0000] rev 5473
merge heads

18 months agooops
Matthias Radestock <matthias@rabbitmq.com> [Wed, 17 Nov 2010 23:24:47 +0000] rev 5472
oops

18 months agominor optimisation: ask for next piece of data before processing
Matthias Radestock <matthias@rabbitmq.com> [Wed, 17 Nov 2010 23:17:24 +0000] rev 5471
minor optimisation: ask for next piece of data before processing
This reduces the likelihood of the reader process stalling,
i.e. ending up in 'receive' when there is nothing in the mailbox.

18 months agoremove some cruft in reader, and some minor tweaks
Matthias Radestock <matthias@rabbitmq.com> [Wed, 17 Nov 2010 22:59:33 +0000] rev 5470
remove some cruft in reader, and some minor tweaks

18 months agoAdd Mnesia db migration for rabbit_durable_exchange table. bug23358
Jerry Kuch <jerryk@vmware.com> [Wed, 17 Nov 2010 16:56:38 +0000] rev 5469
Add Mnesia db migration for rabbit_durable_exchange table.

The broker should now be able to auto-upgrade both rabbit_exchange and
rabbit_durable_exchange tables at boot time.

18 months agoMerge from default. bug23358
Jerry Kuch <jerryk@vmware.com> [Wed, 17 Nov 2010 16:39:50 +0000] rev 5468
Merge from default.

18 months agosome routing optimisation bug23505
Matthias Radestock <matthias@rabbitmq.com> [Wed, 17 Nov 2010 16:30:37 +0000] rev 5467
some routing optimisation
- handle the very common "message goes through single exchange" case
specially
- use a gb_set in all other cases - it performs much better than a set
for smaller sets, and not too badly for very large sets either.

18 months agomerge from default bug20284
Alexandru Scvortov <alexandru@rabbitmq.com> [Wed, 17 Nov 2010 14:58:14 +0000] rev 5466
merge from default

18 months agofix confirm after basic.reject{requeue=false} bug20284
Alexandru Scvortov <alexandru@rabbitmq.com> [Wed, 17 Nov 2010 14:35:45 +0000] rev 5465
fix confirm after basic.reject{requeue=false}

18 months agorefactoring bug23424
Matthew Sackman <matthew@rabbitmq.com> [Wed, 17 Nov 2010 14:37:01 +0000] rev 5464
refactoring

18 months agocosmetic: remove superfluous imports
Matthias Radestock <matthias@rabbitmq.com> [Wed, 17 Nov 2010 13:55:50 +0000] rev 5463
cosmetic: remove superfluous imports

18 months agoMerge bug23460 (emit hibernate time in stats)
Michael Bridgen <mikeb@rabbitmq.com> [Wed, 17 Nov 2010 13:27:31 +0000] rev 5462
Merge bug23460 (emit hibernate time in stats)

18 months agoThrow rather than return errors bug23498
Simon MacMullen <simon@rabbitmq.com> [Tue, 16 Nov 2010 17:56:40 +0000] rev 5461
Throw rather than return errors

18 months agoMerged default into bug23498 bug23498
Simon MacMullen <simon@rabbitmq.com> [Tue, 16 Nov 2010 17:51:50 +0000] rev 5460
Merged default into bug23498

18 months agoAdded queue_ttl upgrade bug23424
Matthew Sackman <matthew@rabbitmq.com> [Tue, 16 Nov 2010 16:17:42 +0000] rev 5459
Added queue_ttl upgrade

18 months agoMatthew points out that erlang:now() can be rewritten as now(). bug23460
Simon MacMullen <simon@rabbitmq.com> [Tue, 16 Nov 2010 17:26:29 +0000] rev 5458
Matthew points out that erlang:now() can be rewritten as now().

18 months agoMerge bug23488 into default (Remove rabbit_misc:intersperse)
Simon MacMullen <simon@rabbitmq.com> [Tue, 16 Nov 2010 15:59:50 +0000] rev 5457
Merge bug23488 into default (Remove rabbit_misc:intersperse)

18 months agoReoprt idle_since pseudo-info-item. bug23460
Simon MacMullen <simon@rabbitmq.com> [Tue, 16 Nov 2010 15:40:18 +0000] rev 5456
Reoprt idle_since pseudo-info-item.

18 months agoFix bug23498
Simon MacMullen <simon@rabbitmq.com> [Tue, 16 Nov 2010 13:39:35 +0000] rev 5455
Fix

18 months agoFixed windows scripts bug23513
Matthew Sackman <matthew@rabbitmq.com> [Tue, 16 Nov 2010 12:09:10 +0000] rev 5454
Fixed windows scripts

18 months agoMerging bug 23496 to default
Matthew Sackman <matthew@rabbitmq.com> [Tue, 16 Nov 2010 11:47:19 +0000] rev 5453
Merging bug 23496 to default

18 months agoMerge bug23498 heads bug23498
Simon MacMullen <simon@rabbitmq.com> [Tue, 16 Nov 2010 11:45:19 +0000] rev 5452
Merge bug23498 heads

18 months agoDon't open a security hole if server is misconfigured. bug23467
Simon MacMullen <simon@rabbitmq.com> [Tue, 16 Nov 2010 12:13:53 +0000] rev 5451
Don't open a security hole if server is misconfigured.

18 months agoSpecs. bug23467
Simon MacMullen <simon@rabbitmq.com> [Tue, 16 Nov 2010 12:08:36 +0000] rev 5450
Specs.

18 months agoFix default config bug23467
Simon MacMullen <simon@rabbitmq.com> [Tue, 16 Nov 2010 11:31:49 +0000] rev 5449
Fix default config

18 months agoAfter reading RFC5802 I'm not convinced this approach can be salvaged (in a sensible amount of time) so let's replace it with something that is a simple demo. bug23467
Simon MacMullen <simon@rabbitmq.com> [Tue, 16 Nov 2010 11:06:57 +0000] rev 5448
After reading RFC5802 I'm not convinced this approach can be salvaged (in a sensible amount of time) so let's replace it with something that is a simple demo.

18 months agoMerged from default bug23467
Simon MacMullen <simon@rabbitmq.com> [Tue, 16 Nov 2010 11:02:15 +0000] rev 5447
Merged from default

18 months agomerge bug23495 into default
Matthias Radestock <matthias@rabbitmq.com> [Mon, 15 Nov 2010 22:46:45 +0000] rev 5446
merge bug23495 into default

18 months agoFixed thinkos in calls to string:join. bug23488
John DeTreville <jdetreville@vmware.com> [Mon, 15 Nov 2010 16:27:22 +0000] rev 5445
Fixed thinkos in calls to string:join.

18 months agoMerged bug23493 into default
Emile Joubert <emile@rabbitmq.com> [Mon, 15 Nov 2010 14:08:18 +0000] rev 5444
Merged bug23493 into default

18 months agoattempt to correct specs bug23498
Matthias Radestock <matthias@rabbitmq.com> [Sat, 13 Nov 2010 21:38:57 +0000] rev 5443
attempt to correct specs

18 months agoMerge bug23354 (remove xmlto and half of universe as macports deps)
Michael Bridgen <mikeb@rabbitmq.com> [Fri, 12 Nov 2010 17:54:52 +0000] rev 5442
Merge bug23354 (remove xmlto and half of universe as macports deps)

18 months agomerge default into bug23498 bug23498
Matthias Radestock <matthias@rabbitmq.com> [Fri, 12 Nov 2010 17:45:57 +0000] rev 5441
merge default into bug23498

18 months agocosmetic
Matthias Radestock <matthias@rabbitmq.com> [Fri, 12 Nov 2010 17:45:39 +0000] rev 5440
cosmetic

18 months agomake build_acyclic_graph return errors bug23498
Matthias Radestock <matthias@rabbitmq.com> [Fri, 12 Nov 2010 17:44:02 +0000] rev 5439
make build_acyclic_graph return errors
and refine types

18 months agoReplace catch with try; we want to show all kinds of boot errors in a readable way. bug23498
Simon MacMullen <simon@rabbitmq.com> [Mon, 15 Nov 2010 11:25:25 +0000] rev 5438
Replace catch with try; we want to show all kinds of boot errors in a readable way.

18 months agoRemove the beginning of the per-mechanism options thing, in the interest of getting this thing finished. bug23467
Simon MacMullen <simon@rabbitmq.com> [Mon, 15 Nov 2010 10:50:39 +0000] rev 5437
Remove the beginning of the per-mechanism options thing, in the interest of getting this thing finished.

18 months agomerge default into bug23498 bug23498
Matthias Radestock <matthias@rabbitmq.com> [Fri, 12 Nov 2010 15:49:14 +0000] rev 5436
merge default into bug23498

18 months agocosmetic
Matthias Radestock <matthias@rabbitmq.com> [Fri, 12 Nov 2010 15:46:42 +0000] rev 5435
cosmetic

18 months agouse {error,_} returns and throws instead of exits bug23498
Matthias Radestock <matthias@rabbitmq.com> [Fri, 12 Nov 2010 15:45:32 +0000] rev 5434
use {error,_} returns and throws instead of exits

18 months agoMake sockets limit infinite on Windows. bug23351
John DeTreville <jdetreville@vmware.com> [Tue, 09 Nov 2010 12:23:14 +0000] rev 5433
Make sockets limit infinite on Windows.

18 months agoTypo bug23496
Simon MacMullen <simon@rabbitmq.com> [Fri, 12 Nov 2010 11:11:37 +0000] rev 5432
Typo

18 months agoDon't use records or record_info, explain why bug23496
Simon MacMullen <simon@rabbitmq.com> [Fri, 12 Nov 2010 11:11:01 +0000] rev 5431
Don't use records or record_info, explain why

18 months agoMerging bug 23481 to default
Matthew Sackman <matthew@rabbitmq.com> [Fri, 12 Nov 2010 00:28:45 +0000] rev 5430
Merging bug 23481 to default

18 months agoexit->throw, *_or_exit -> ensure_*, and some cosmetics default
Matthias Radestock <matthias@rabbitmq.com> [Thu, 11 Nov 2010 20:50:47 +0000] rev 5429
exit->throw, *_or_exit -> ensure_*, and some cosmetics