3 months agoMerge bug24702
Simon MacMullen <simon@rabbitmq.com> [Fri, 03 Feb 2012 15:59:12 +0000] rev 8922
Merge bug24702

3 months agoMerge bug24500
Simon MacMullen <simon@rabbitmq.com> [Fri, 03 Feb 2012 15:36:08 +0000] rev 8921
Merge bug24500

3 months agoDefaults all centralised and isolated. bug24721
Steve Powell <steve@rabbitmq.com> [Fri, 03 Feb 2012 15:34:38 +0000] rev 8920
Defaults all centralised and isolated.

3 months agoMerge bug22961 in (a dependency) bug24721
Steve Powell <steve@rabbitmq.com> [Fri, 03 Feb 2012 08:13:30 +0000] rev 8919
Merge bug22961 in (a dependency)

3 months agoAdd description bug24500
Simon MacMullen <simon@rabbitmq.com> [Fri, 03 Feb 2012 15:30:59 +0000] rev 8918
Add description

3 months agorefactor (Matthias's suggestions) bug20337
Alexandru Scvortov <alexandru@rabbitmq.com> [Fri, 03 Feb 2012 14:32:32 +0000] rev 8917
refactor (Matthias's suggestions)

3 months agoMerge bug24606
Simon MacMullen <simon@rabbitmq.com> [Fri, 03 Feb 2012 13:06:47 +0000] rev 8916
Merge bug24606

3 months agodrop messages in dl cycles bug20337
Alexandru Scvortov <alexandru@rabbitmq.com> [Fri, 03 Feb 2012 13:01:07 +0000] rev 8915
drop messages in dl cycles

This is the fate of messages in cycles:
=WARNING REPORT==== 3-Feb-2012::12:54:34 ===
Message dropped. Dead-letter queues cycle detected: [<<"foo">>,<<"foo">>]

3 months agoUmm, and those. bug24655
Simon MacMullen <simon@rabbitmq.com> [Fri, 03 Feb 2012 11:11:11 +0000] rev 8914
Umm, and those.

3 months agoBuild-Depend on erlang-nox and erlang-src. bug24655
Simon MacMullen <simon@rabbitmq.com> [Fri, 03 Feb 2012 11:09:41 +0000] rev 8913
Build-Depend on erlang-nox and erlang-src.

3 months agomerge default into bug24624 and use new rabbit_misc:format/2 bug24624
Matthias Radestock <matthias@rabbitmq.com> [Thu, 02 Feb 2012 16:09:56 +0000] rev 8912
merge default into bug24624 and use new rabbit_misc:format/2

3 months agorefactor: extract string formatting function
Matthias Radestock <matthias@rabbitmq.com> [Thu, 02 Feb 2012 15:34:31 +0000] rev 8911
refactor: extract string formatting function

3 months agoMove cookie_hash/0 too. bug24624
Simon MacMullen <simon@rabbitmq.com> [Thu, 02 Feb 2012 14:42:27 +0000] rev 8910
Move cookie_hash/0 too.

3 months agoMove rabbit_misc:nodeparts/1 and rabbit_misc:makenode/1 into rabbit_nodes bug24624
Simon MacMullen <simon@rabbitmq.com> [Thu, 02 Feb 2012 14:36:17 +0000] rev 8909
Move rabbit_misc:nodeparts/1 and rabbit_misc:makenode/1 into rabbit_nodes

3 months ago"to contact" isn't correct in the duplicate check case. bug24624
Simon MacMullen <simon@rabbitmq.com> [Thu, 02 Feb 2012 14:20:34 +0000] rev 8908
"to contact" isn't correct in the duplicate check case.

3 months agoUnify the more resilient hostname check, refactor out this code into a new module. bug24624
Simon MacMullen <simon@rabbitmq.com> [Thu, 02 Feb 2012 14:16:48 +0000] rev 8907
Unify the more resilient hostname check, refactor out this code into a new module.

3 months agoUpdate copyright 2012 bug24606
Emile Joubert <emile@rabbitmq.com> [Thu, 02 Feb 2012 13:41:23 +0000] rev 8906
Update copyright 2012

3 months agoClean up diagnostics code, clean up diagnostics messages. bug24624
Simon MacMullen <simon@rabbitmq.com> [Thu, 02 Feb 2012 13:41:25 +0000] rev 8905
Clean up diagnostics code, clean up diagnostics messages.

3 months agoRemove nodes file immediately after starting Mnesia. bug24624
Simon MacMullen <simon@rabbitmq.com> [Thu, 02 Feb 2012 13:03:53 +0000] rev 8904
Remove nodes file immediately after starting Mnesia.

3 months agoOops bug24624
Simon MacMullen <simon@rabbitmq.com> [Thu, 02 Feb 2012 12:55:57 +0000] rev 8903
Oops

3 months agoMerge in default bug24624
Simon MacMullen <simon@rabbitmq.com> [Thu, 02 Feb 2012 12:54:28 +0000] rev 8902
Merge in default

3 months agoMerge default in. bug22961
Steve Powell <steve@rabbitmq.com> [Thu, 02 Feb 2012 10:41:26 +0000] rev 8901
Merge default in.

3 months agoinclude some mirror master state info in status() bug24702
Matthias Radestock <matthias@rabbitmq.com> [Wed, 01 Feb 2012 22:20:06 +0000] rev 8900
include some mirror master state info in status()
After careful inspection, I have determined that known_senders and
seen_status are the only items worth reporting on.

3 months agoQuick hack at rabbitmqctl force_cluster_forget. Appears to work. bug24413
Simon MacMullen <simon@rabbitmq.com> [Wed, 01 Feb 2012 18:22:11 +0000] rev 8899
Quick hack at rabbitmqctl force_cluster_forget. Appears to work.

3 months agoCommitted some changes by mistake... bug24234
Francesco Mazzoli <francesco@rabbitmq.com> [Wed, 01 Feb 2012 17:45:09 +0000] rev 8898
Committed some changes by mistake...

3 months agoCosmetic, restored reject/4 arguments to the previous order. bug24234
Francesco Mazzoli <francesco@rabbitmq.com> [Wed, 01 Feb 2012 17:40:59 +0000] rev 8897
Cosmetic, restored reject/4 arguments to the previous order.

3 months agoMerge heads
Emile Joubert <emile@rabbitmq.com> [Wed, 01 Feb 2012 17:23:57 +0000] rev 8896
Merge heads

3 months agoMerged bug24713 into default
Emile Joubert <emile@rabbitmq.com> [Wed, 01 Feb 2012 16:48:08 +0000] rev 8895
Merged bug24713 into default

3 months agomerge bug24703 into default
Matthias Radestock <matthias@rabbitmq.com> [Wed, 01 Feb 2012 16:48:35 +0000] rev 8894
merge bug24703 into default

3 months agoMerge default. bug24234
Francesco Mazzoli <francesco@rabbitmq.com> [Wed, 01 Feb 2012 16:35:05 +0000] rev 8893
Merge default.

3 months agoTypo
Simon MacMullen <simon@rabbitmq.com> [Wed, 01 Feb 2012 15:57:53 +0000] rev 8892
Typo

3 months agosimplify bug24703
Matthias Radestock <matthias@rabbitmq.com> [Wed, 01 Feb 2012 15:43:04 +0000] rev 8891
simplify

3 months agoRevert comment change bug24703
Simon MacMullen <simon@rabbitmq.com> [Wed, 01 Feb 2012 15:15:38 +0000] rev 8890
Revert comment change

3 months agoOTOH if we're not trying to cluster with anything we should probably be happy. bug24703
Simon MacMullen <simon@rabbitmq.com> [Wed, 01 Feb 2012 15:12:53 +0000] rev 8889
OTOH if we're not trying to cluster with anything we should probably be happy.

3 months agoBut Matthias points out that we can avoid the three-way-ness by changing the meaning of non-forced clustering so that you must only have to contact *one* disc node. This seems to work. bug24703
Simon MacMullen <simon@rabbitmq.com> [Wed, 01 Feb 2012 15:06:04 +0000] rev 8888
But Matthias points out that we can avoid the three-way-ness by changing the meaning of non-forced clustering so that you must only have to contact *one* disc node. This seems to work.

3 months agoReintroduce the three levels of forcedness. We do still need it. bug24703
Simon MacMullen <simon@rabbitmq.com> [Wed, 01 Feb 2012 14:52:57 +0000] rev 8887
Reintroduce the three levels of forcedness. We do still need it.

3 months agoInline. bug24703
Simon MacMullen <simon@rabbitmq.com> [Wed, 01 Feb 2012 14:07:50 +0000] rev 8886
Inline.

3 months agoThis doesn't start any more. bug24703
Simon MacMullen <simon@rabbitmq.com> [Wed, 01 Feb 2012 13:57:20 +0000] rev 8885
This doesn't start any more.

3 months agoBase discnodeness on what we want to become, not what we are. bug24703
Simon MacMullen <simon@rabbitmq.com> [Wed, 01 Feb 2012 13:45:22 +0000] rev 8884
Base discnodeness on what we want to become, not what we are.

3 months agoChange the semantics of Force to fit this particular bug. *meep*. bug24703
Simon MacMullen <simon@rabbitmq.com> [Wed, 01 Feb 2012 13:38:31 +0000] rev 8883
Change the semantics of Force to fit this particular bug. *meep*.

3 months agoDon't claim to be adding mirror when we're not. bug24713
Simon MacMullen <simon@rabbitmq.com> [Wed, 01 Feb 2012 11:54:20 +0000] rev 8882
Don't claim to be adding mirror when we're not.

3 months agoWe don't actually need this two-stage startup, we can just fail to init/1. bug24713
Simon MacMullen <simon@rabbitmq.com> [Wed, 01 Feb 2012 11:45:49 +0000] rev 8881
We don't actually need this two-stage startup, we can just fail to init/1.

3 months agoLet's pay attention to whether we actually started or not. bug24713
Simon MacMullen <simon@rabbitmq.com> [Wed, 01 Feb 2012 11:17:57 +0000] rev 8880
Let's pay attention to whether we actually started or not.

3 months agoMerge default in bug22961
Steve Powell <steve@rabbitmq.com> [Wed, 01 Feb 2012 10:57:20 +0000] rev 8879
Merge default in

3 months agoRebase 038bd3c185ae bug24703
Simon MacMullen <simon@rabbitmq.com> [Tue, 31 Jan 2012 18:07:57 +0000] rev 8878
Rebase 038bd3c185ae

3 months agoResurrect and remove redundant ensure_mnesia_running() bug24703
Simon MacMullen <simon@rabbitmq.com> [Tue, 31 Jan 2012 18:07:07 +0000] rev 8877
Resurrect and remove redundant ensure_mnesia_running()

3 months agoJunk bug24703 junk
Simon MacMullen <simon@rabbitmq.com> [Tue, 31 Jan 2012 18:06:31 +0000] rev 8876
Junk bug24703

3 months agoTwo-stage-startup-with-mnesia-record, like rabbit_amqqueue_process. bug24713
Simon MacMullen <simon@rabbitmq.com> [Tue, 31 Jan 2012 17:35:02 +0000] rev 8875
Two-stage-startup-with-mnesia-record, like rabbit_amqqueue_process.

3 months agoMerged bug24671 into default
Emile Joubert <emile@rabbitmq.com> [Tue, 31 Jan 2012 17:23:03 +0000] rev 8874
Merged bug24671 into default

3 months agoBetter comments regarding gen/0, explicit range for phash/2. bug24505
Francesco Mazzoli <francesco@rabbitmq.com> [Tue, 31 Jan 2012 15:39:14 +0000] rev 8873
Better comments regarding gen/0, explicit range for phash/2.

3 months agoMerge default. bug24234
Francesco Mazzoli <francesco@rabbitmq.com> [Tue, 31 Jan 2012 14:27:04 +0000] rev 8872
Merge default.

3 months agoBetter comment for gen/0. bug24505
Francesco Mazzoli <francesco@rabbitmq.com> [Tue, 31 Jan 2012 14:04:46 +0000] rev 8871
Better comment for gen/0.

3 months agoUpdate comment for gen/0. bug24505
Francesco Mazzoli <francesco@rabbitmq.com> [Tue, 31 Jan 2012 13:55:53 +0000] rev 8870
Update comment for gen/0.

3 months agoMerge master in. bug24505
Francesco Mazzoli <francesco@rabbitmq.com> [Tue, 31 Jan 2012 13:48:58 +0000] rev 8869
Merge master in.

3 months agoChange fash guid generation function to use phash + rotating blocks. bug24505
Francesco Mazzoli <francesco@rabbitmq.com> [Tue, 31 Jan 2012 13:34:37 +0000] rev 8868
Change fash guid generation function to use phash + rotating blocks.

3 months agoMerge bug22470
Simon MacMullen <simon@rabbitmq.com> [Tue, 31 Jan 2012 13:55:40 +0000] rev 8867
Merge bug22470

3 months agomerge bug24715 into default
Matthias Radestock <matthias@rabbitmq.com> [Tue, 31 Jan 2012 13:17:11 +0000] rev 8866
merge bug24715 into default

3 months agocosmetic: ensure_gm_heartbeat is not a gm callback bug24715
Matthias Radestock <matthias@rabbitmq.com> [Tue, 31 Jan 2012 13:16:26 +0000] rev 8865
cosmetic: ensure_gm_heartbeat is not a gm callback

3 months agouse same variable naming convention as in channel bug20337
Alexandru Scvortov <alexandru@rabbitmq.com> [Tue, 31 Jan 2012 12:58:53 +0000] rev 8864
use same variable naming convention as in channel

3 months agodon't leak queue monitors bug20337
Alexandru Scvortov <alexandru@rabbitmq.com> [Tue, 31 Jan 2012 12:52:09 +0000] rev 8863
don't leak queue monitors

3 months agoMerge bug24718
Simon MacMullen <simon@rabbitmq.com> [Tue, 31 Jan 2012 12:03:36 +0000] rev 8862
Merge bug24718

3 months agosilence epmd start bug24494
Alexandru Scvortov <alexandru@rabbitmq.com> [Tue, 31 Jan 2012 11:14:15 +0000] rev 8861
silence epmd start

3 months agolet erlang start epmd on windows bug24494
Alexandru Scvortov <alexandru@rabbitmq.com> [Tue, 31 Jan 2012 11:04:03 +0000] rev 8860
let erlang start epmd on windows

3 months agoBacked out changeset 6bdb3b57d0c5 bug24494
Alexandru Scvortov <alexandru@rabbitmq.com> [Tue, 31 Jan 2012 10:58:55 +0000] rev 8859
Backed out changeset 6bdb3b57d0c5

3 months agoRenamede reject_tx/4 to reject/4. bug24234
Francesco Mazzoli <francesco@rabbitmq.com> [Tue, 31 Jan 2012 11:00:20 +0000] rev 8858
Renamede reject_tx/4 to reject/4.

3 months agotry to start epmd as a background job bug24494
Alexandru Scvortov <alexandru@rabbitmq.com> [Tue, 31 Jan 2012 10:46:00 +0000] rev 8857
try to start epmd as a background job

3 months agoit helps to not throw away the state bug24718
Matthias Radestock <matthias@rabbitmq.com> [Mon, 30 Jan 2012 18:59:41 +0000] rev 8856
it helps to not throw away the state
it really does

3 months agoModify generic-unix packaging step to override rabbitmq-sys defaults. bug22961
Steve Powell <steve@rabbitmq.com> [Mon, 30 Jan 2012 18:01:45 +0000] rev 8855
Modify generic-unix packaging step to override rabbitmq-sys defaults.

3 months agoMerge default in bug22961
Steve Powell <steve@rabbitmq.com> [Mon, 30 Jan 2012 14:41:12 +0000] rev 8854
Merge default in

3 months agoMove defaults to rabbitmq-sys bug22961
Steve Powell <steve@rabbitmq.com> [Mon, 30 Jan 2012 14:40:26 +0000] rev 8853
Move defaults to rabbitmq-sys

3 months agoDon't use timer:apply_interval/4. bug24715
Simon MacMullen <simon@rabbitmq.com> [Mon, 30 Jan 2012 17:04:56 +0000] rev 8852
Don't use timer:apply_interval/4.

3 months agoIt's a resource, it'll print 'queue' anyway.
Simon MacMullen <simon@rabbitmq.com> [Mon, 30 Jan 2012 13:19:48 +0000] rev 8851
It's a resource, it'll print 'queue' anyway.

3 months agomerge default into bug24494 bug24494
Alexandru Scvortov <alexandru@rabbitmq.com> [Mon, 30 Jan 2012 11:34:04 +0000] rev 8850
merge default into bug24494

3 months agoproduce only one log entry for abnormal connection closure bug22470
Matthias Radestock <matthias@rabbitmq.com> [Mon, 30 Jan 2012 11:23:36 +0000] rev 8849
produce only one log entry for abnormal connection closure
instead of two

3 months agocheck that dlx is defined is dl-rk is set bug20337
Alexandru Scvortov <alexandru@rabbitmq.com> [Mon, 30 Jan 2012 11:17:23 +0000] rev 8848
check that dlx is defined is dl-rk is set

3 months agoMerged bug24664 into default
Emile Joubert <emile@rabbitmq.com> [Fri, 27 Jan 2012 17:00:12 +0000] rev 8847
Merged bug24664 into default

3 months agoMerge bug24601 into default
Jim Apperly <jim@rabbitmq.com> [Fri, 27 Jan 2012 12:36:09 +0000] rev 8846
Merge bug24601 into default

3 months agoRemove redundant template from html-to-website-xml.xsl bug24601
Jim Apperly <jim@rabbitmq.com> [Fri, 27 Jan 2012 12:32:36 +0000] rev 8845
Remove redundant template from html-to-website-xml.xsl

3 months agomerge bug23706 into default
Matthias Radestock <matthias@rabbitmq.com> [Fri, 27 Jan 2012 08:54:10 +0000] rev 8844
merge bug23706 into default

3 months agocosmetic bug23706
Matthias Radestock <matthias@rabbitmq.com> [Fri, 27 Jan 2012 08:02:11 +0000] rev 8843
cosmetic

3 months agoconsistency bug22470
Matthias Radestock <matthias@rabbitmq.com> [Thu, 26 Jan 2012 21:47:35 +0000] rev 8842
consistency

3 months agovalidate log levels on startup bug22470
Matthias Radestock <matthias@rabbitmq.com> [Thu, 26 Jan 2012 20:25:36 +0000] rev 8841
validate log levels on startup

3 months agomerge default into bug22470 bug22470
Matthias Radestock <matthias@rabbitmq.com> [Thu, 26 Jan 2012 20:17:04 +0000] rev 8840
merge default into bug22470

3 months agoget rid of debug and message logging
Matthias Radestock <matthias@rabbitmq.com> [Thu, 26 Jan 2012 18:48:47 +0000] rev 8839
get rid of debug and message logging
since they have limited use
This does make the rabbit_log server somewhat superfluous, but it does
get a new lease of life in bug 22470

3 months agointroduce log categories bug22470
Matthias Radestock <matthias@rabbitmq.com> [Thu, 26 Jan 2012 18:30:13 +0000] rev 8838
introduce log categories
thus opening pandora's box
this turned out to be simplest way of controlling the connection logging

3 months agoMerge in default (and make error more readable) bug23706
Simon MacMullen <simon@rabbitmq.com> [Thu, 26 Jan 2012 17:00:15 +0000] rev 8837
Merge in default (and make error more readable)

3 months agoprettier and more consistent connection log messages bug22470
Matthias Radestock <matthias@rabbitmq.com> [Wed, 25 Jan 2012 15:04:48 +0000] rev 8836
prettier and more consistent connection log messages

3 months agomove error_logger 'flow control' into application code bug22470
Matthias Radestock <matthias@rabbitmq.com> [Wed, 25 Jan 2012 15:03:53 +0000] rev 8835
move error_logger 'flow control' into application code
since tcp_acceptor no longer does any per-connection logging itself

3 months agodo not log accepted connections in tcp_acceptor bug22470
Matthias Radestock <matthias@rabbitmq.com> [Wed, 25 Jan 2012 14:26:40 +0000] rev 8834
do not log accepted connections in tcp_acceptor
Logging in such generic code should be very sparse. Let's leave that
to application code (rabbit_reader et al in case of rabbit) instead.

3 months agodrop ssl upgrade message bug22470
Matthias Radestock <matthias@rabbitmq.com> [Wed, 25 Jan 2012 14:06:58 +0000] rev 8833
drop ssl upgrade message
it's not that important and just clutters the log

3 months agoThis is never used. bug24703
Simon MacMullen <simon@rabbitmq.com> [Thu, 26 Jan 2012 16:35:36 +0000] rev 8832
This is never used.

3 months agoFinally: test that a ram node will not start by itself. You know - the point of the bug. bug24703
Simon MacMullen <simon@rabbitmq.com> [Thu, 26 Jan 2012 16:35:24 +0000] rev 8831
Finally: test that a ram node will not start by itself. You know - the point of the bug.

3 months agoTest the reset-when-not-all-disc-nodes-are-up thing. bug24703
Simon MacMullen <simon@rabbitmq.com> [Thu, 26 Jan 2012 16:25:16 +0000] rev 8830
Test the reset-when-not-all-disc-nodes-are-up thing.

3 months agoPropagate further. bug24703
Simon MacMullen <simon@rabbitmq.com> [Thu, 26 Jan 2012 15:51:25 +0000] rev 8829
Propagate further.

3 months agoChange CONFIG_FILE, LOG_BASE, MNESIA_BASE and ENABLED_PLUGINS_FILE defaults bug22961
Steve Powell <steve@rabbitmq.com> [Thu, 26 Jan 2012 15:25:41 +0000] rev 8828
Change CONFIG_FILE, LOG_BASE, MNESIA_BASE and ENABLED_PLUGINS_FILE defaults
- CONFIG_FILE to ${RABBIT_HOME}/rabbitmq
- LOG_BASE to ${RABBIT_HOME}/log
- MNESIA_BASE to ${RABBIT_HOME}/mnesia
- ENABLED_PLUGINS_FILE to ${RABBIT_HOME}/enabled_plugins

3 months agoMerge bug24706 in bug22961
Steve Powell <steve@rabbitmq.com> [Thu, 26 Jan 2012 12:55:43 +0000] rev 8827
Merge bug24706 in

4 months agoMove non-empty defaults to rabbitmq-env bug24706
Steve Powell <steve@rabbitmq.com> [Wed, 04 Jan 2012 15:57:19 +0000] rev 8826
Move non-empty defaults to rabbitmq-env
- rationalise server-settings
- correctly override PLUGINS_DIR
- allow use of PID_FILE override
- simplify NODE_IP_ADDRESS and NODE_PORT setting

3 months agoDelete extra whitespace. bug24234
Francesco Mazzoli <francesco@rabbitmq.com> [Wed, 25 Jan 2012 16:20:13 +0000] rev 8825
Delete extra whitespace.

3 months agoMerge bug24435
Simon MacMullen <simon@rabbitmq.com> [Wed, 25 Jan 2012 15:18:56 +0000] rev 8824
Merge bug24435

3 months agoAlignment bug24435
Simon MacMullen <simon@rabbitmq.com> [Wed, 25 Jan 2012 15:18:42 +0000] rev 8823
Alignment

3 months agoI think this should be a soft error. Although the spec does say to use command-invalid when the client attempts to declare an exchange of an unknown type, that's much more obviously the client's fault. So let's go with an old favourite. bug24435
Simon MacMullen <simon@rabbitmq.com> [Wed, 25 Jan 2012 15:17:48 +0000] rev 8822
I think this should be a soft error. Although the spec does say to use command-invalid when the client attempts to declare an exchange of an unknown type, that's much more obviously the client's fault. So let's go with an old favourite.

3 months agoTweak language bug24435
Simon MacMullen <simon@rabbitmq.com> [Wed, 25 Jan 2012 15:07:46 +0000] rev 8821
Tweak language

3 months agoCons instead of append, reject does not change the channel state. bug24234
Francesco Mazzoli <francesco@rabbitmq.com> [Wed, 25 Jan 2012 14:58:29 +0000] rev 8820
Cons instead of append, reject does not change the channel state.

3 months ago'case' statement style bug24234
Francesco Mazzoli <francesco@rabbitmq.com> [Wed, 25 Jan 2012 14:00:17 +0000] rev 8819
'case' statement style

3 months agoBetter error messages and style fixes. bug24435
Francesco Mazzoli <francesco@rabbitmq.com> [Wed, 25 Jan 2012 13:54:57 +0000] rev 8818
Better error messages and style fixes.

3 months agoreject doesn't need to know about the channel state. bug24234
Francesco Mazzoli <francesco@rabbitmq.com> [Wed, 25 Jan 2012 12:43:15 +0000] rev 8817
reject doesn't need to know about the channel state.

3 months agoFix to reject_tx, list comprehension instead of map. bug24234
Francesco Mazzoli <francesco@rabbitmq.com> [Wed, 25 Jan 2012 12:21:02 +0000] rev 8816
Fix to reject_tx, list comprehension instead of map.

3 months agoFlatten the list of lists. bug24234
Francesco Mazzoli <francesco@rabbitmq.com> [Wed, 25 Jan 2012 12:33:33 +0000] rev 8815
Flatten the list of lists.

3 months agocheck dlx routing key arg bug20337
Alexandru Scvortov <alexandru@rabbitmq.com> [Tue, 24 Jan 2012 19:35:14 +0000] rev 8814
check dlx routing key arg

3 months agooverwrite malformed x-death headers bug20337
Alexandru Scvortov <alexandru@rabbitmq.com> [Tue, 24 Jan 2012 19:05:24 +0000] rev 8813
overwrite malformed x-death headers

3 months agodon't discard accumulated changes bug20337
Alexandru Scvortov <alexandru@rabbitmq.com> [Tue, 24 Jan 2012 18:50:22 +0000] rev 8812
don't discard accumulated changes

3 months agouse POSIX timestamps instead of human readable ones bug20337
Alexandru Scvortov <alexandru@rabbitmq.com> [Tue, 24 Jan 2012 18:41:31 +0000] rev 8811
use POSIX timestamps instead of human readable ones

3 months agomerge default into bug20337 bug20337
Alexandru Scvortov <alexandru@rabbitmq.com> [Tue, 24 Jan 2012 18:27:38 +0000] rev 8810
merge default into bug20337

3 months agoRemove ?CREDIT_CPU_BOUND and have /1 versions of ack and send instead. bug24671
Simon MacMullen <simon@rabbitmq.com> [Tue, 24 Jan 2012 18:11:01 +0000] rev 8809
Remove ?CREDIT_CPU_BOUND and have /1 versions of ack and send instead.

3 months agoHuh bug24703
Simon MacMullen <simon@rabbitmq.com> [Tue, 24 Jan 2012 16:48:37 +0000] rev 8808
Huh

3 months agoFix various tests bug24703
Simon MacMullen <simon@rabbitmq.com> [Tue, 24 Jan 2012 16:43:28 +0000] rev 8807
Fix various tests

3 months agoExecuting basick.{nack,reject} transactionally. bug24234
Francesco Mazzoli <francesco@rabbitmq.com> [Tue, 24 Jan 2012 17:21:48 +0000] rev 8806
Executing basick.{nack,reject} transactionally.

3 months agoFail to start if no disc nodes are up (bug 24703), and fail to reset if any disc nodes are down (see bug 24376). bug24703
Simon MacMullen <simon@rabbitmq.com> [Tue, 24 Jan 2012 16:13:50 +0000] rev 8805
Fail to start if no disc nodes are up (bug 24703), and fail to reset if any disc nodes are down (see bug 24376).

3 months ago...however, we should still allow rabbitmqctl reset to work when some nodes are down. (This is what we did before, the difference between reset and force_reset is that force_reset works if mnesia is completely hosed). bug24703
Simon MacMullen <simon@rabbitmq.com> [Tue, 24 Jan 2012 14:19:44 +0000] rev 8804
...however, we should still allow rabbitmqctl reset to work when some nodes are down. (This is what we did before, the difference between reset and force_reset is that force_reset works if mnesia is completely hosed).

3 months agoDon't force on init() (which fixes bug 24703), plus a little refactor. bug24703
Simon MacMullen <simon@rabbitmq.com> [Tue, 24 Jan 2012 14:15:57 +0000] rev 8803
Don't force on init() (which fixes bug 24703), plus a little refactor.

3 months agoForgot to add/remove files. bug24435
Francesco Mazzoli <francesco@rabbitmq.com> [Tue, 24 Jan 2012 15:28:46 +0000] rev 8802
Forgot to add/remove files.

3 months agoChange dummy exchange name from "inert" to "invalid" bug24435
Francesco Mazzoli <francesco@rabbitmq.com> [Tue, 24 Jan 2012 15:21:04 +0000] rev 8801
Change dummy exchange name from "inert" to "invalid"

3 months agoDuplicate "exchange" in error message bug24435
Francesco Mazzoli <francesco@rabbitmq.com> [Tue, 24 Jan 2012 13:55:20 +0000] rev 8800
Duplicate "exchange" in error message

3 months agoUsing rabbit_misc:rs/1 to format the exchange name. bug24435
Francesco Mazzoli <francesco@rabbitmq.com> [Tue, 24 Jan 2012 13:50:58 +0000] rev 8799
Using rabbit_misc:rs/1 to format the exchange name.

3 months agoProtocol error instead of warning when routing through inert exchange. bug24435
Francesco Mazzoli <francesco@rabbitmq.com> [Tue, 24 Jan 2012 13:32:33 +0000] rev 8798
Protocol error instead of warning when routing through inert exchange.

I originally raised protocol errors in bind/unbind as well but that defies
the purpose of this fixes since if a queue is bound to an exchange with invalid
type the boot sequence fails since it tries to re-bind the queue.

3 months agoDropping messages silently instead of emitting warnings. bug24435
Francesco Mazzoli <francesco@rabbitmq.com> [Tue, 24 Jan 2012 12:37:41 +0000] rev 8797
Dropping messages silently instead of emitting warnings.

Matthias noted that emitting a warning for every message that can easily clog
the logger.

3 months agoAdd stub for "inert" exchange to be used when exchange types are missing. bug24435
Francesco Mazzoli <francesco@rabbitmq.com> [Tue, 24 Jan 2012 12:22:59 +0000] rev 8796
Add stub for "inert" exchange to be used when exchange types are missing.

Right now it just emits warnings on startup and when a message is routed
through the exchange.

I need to handle the "add_binding" and "remove_bindings" better, probably
emitting a protocol error.

Also, I'm not sure the log warning are visible enough.

3 months agoShow both log files. bug23706
Simon MacMullen <simon@rabbitmq.com> [Mon, 23 Jan 2012 15:10:36 +0000] rev 8795
Show both log files.

3 months agoFurther clarity. bug23706
Simon MacMullen <simon@rabbitmq.com> [Mon, 23 Jan 2012 15:07:27 +0000] rev 8794
Further clarity.

3 months agoImprove display of boot errors. bug23706
Simon MacMullen <simon@rabbitmq.com> [Mon, 23 Jan 2012 15:04:47 +0000] rev 8793
Improve display of boot errors.

3 months agoMerge bug24653
Simon MacMullen <simon@rabbitmq.com> [Mon, 23 Jan 2012 14:34:58 +0000] rev 8792
Merge bug24653

3 months agorefactor: use types exported by 'supervisor'
Matthias Radestock <matthias@rabbitmq.com> [Mon, 23 Jan 2012 12:14:38 +0000] rev 8791
refactor: use types exported by 'supervisor'
instead of defining our own

3 months agohelper function for constructing tcp listener sup child specs
Matthias Radestock <matthias@rabbitmq.com> [Mon, 23 Jan 2012 12:03:47 +0000] rev 8790
helper function for constructing tcp listener sup child specs
useful in e.g. stomp

3 months agouse the correct inet types
Matthias Radestock <matthias@rabbitmq.com> [Mon, 23 Jan 2012 11:29:42 +0000] rev 8789
use the correct inet types

3 months agouse correct type for {M,F,A}
Matthias Radestock <matthias@rabbitmq.com> [Mon, 23 Jan 2012 11:15:19 +0000] rev 8788
use correct type for {M,F,A}
the built-in mfa() type stands for module-function-*arity*

3 months agorefactor: check_tcp_listener_address/2 -> tcp_listener_addresses/1
Matthias Radestock <matthias@rabbitmq.com> [Mon, 23 Jan 2012 10:06:02 +0000] rev 8787
refactor: check_tcp_listener_address/2 -> tcp_listener_addresses/1
...which is a more sensible name and signature

3 months agorefactor: turn a condition into a guard
Matthias Radestock <matthias@rabbitmq.com> [Mon, 23 Jan 2012 08:49:06 +0000] rev 8786
refactor: turn a condition into a guard

3 months agocosmetic: move helper functions where they belong
Matthias Radestock <matthias@rabbitmq.com> [Mon, 23 Jan 2012 08:16:22 +0000] rev 8785
cosmetic: move helper functions where they belong

3 months agohandle the remaining enabled_plugins_file error case more gracefully bug24653
Matthias Radestock <matthias@rabbitmq.com> [Sun, 22 Jan 2012 17:10:04 +0000] rev 8784
handle the remaining enabled_plugins_file error case more gracefully

3 months agodon't complain about empty enabled_plugins file bug24653
Matthias Radestock <matthias@rabbitmq.com> [Sun, 22 Jan 2012 15:09:29 +0000] rev 8783
don't complain about empty enabled_plugins file

3 months agoMerged bug23432 into default
Emile Joubert <emile@rabbitmq.com> [Fri, 20 Jan 2012 16:01:28 +0000] rev 8782
Merged bug23432 into default

3 months agodisplay posix error description bug23706
Matthias Radestock <matthias@rabbitmq.com> [Fri, 20 Jan 2012 15:52:23 +0000] rev 8781
display posix error description

3 months agoImprovement? bug23706
Simon MacMullen <simon@rabbitmq.com> [Fri, 20 Jan 2012 15:29:38 +0000] rev 8780
Improvement?

3 months agoDon't fsync after inner nested transactions bug24500
Emile Joubert <emile@rabbitmq.com> [Fri, 20 Jan 2012 12:56:18 +0000] rev 8779
Don't fsync after inner nested transactions

3 months agoMore doc. bug24671
Simon MacMullen <simon@rabbitmq.com> [Fri, 20 Jan 2012 12:34:21 +0000] rev 8778
More doc.

3 months agoclean junk junk
Simon MacMullen <simon@rabbitmq.com> [Fri, 20 Jan 2012 11:42:13 +0000] rev 8777
clean junk

3 months agoJunk default (bug 24500 broke erlang client) junk
Simon MacMullen <simon@rabbitmq.com> [Fri, 20 Jan 2012 11:40:19 +0000] rev 8776
Junk default (bug 24500 broke erlang client)

3 months agoResurrect default
Simon MacMullen <simon@rabbitmq.com> [Fri, 20 Jan 2012 11:39:34 +0000] rev 8775
Resurrect default

3 months ago5df9b13693d6 broke rabbitmqctl reset. Revert. default
Simon MacMullen <simon@rabbitmq.com> [Thu, 19 Jan 2012 17:14:22 +0000] rev 8774
5df9b13693d6 broke rabbitmqctl reset. Revert.

3 months agoMore credit for the queue -> msg_store case. bug24671
Simon MacMullen <simon@rabbitmq.com> [Thu, 19 Jan 2012 16:42:04 +0000] rev 8773
More credit for the queue -> msg_store case.

3 months agoConserve precious boot steps.
Simon MacMullen <simon@rabbitmq.com> [Thu, 19 Jan 2012 16:15:47 +0000] rev 8772
Conserve precious boot steps.

3 months agoRemove underscores from the boot screen. How horrible!
Simon MacMullen <simon@rabbitmq.com> [Thu, 19 Jan 2012 16:08:02 +0000] rev 8771
Remove underscores from the boot screen. How horrible!

3 months agoMerge bug24500
Simon MacMullen <simon@rabbitmq.com> [Thu, 19 Jan 2012 16:03:36 +0000] rev 8770
Merge bug24500

3 months agoBe more assertive bug24500
Simon MacMullen <simon@rabbitmq.com> [Thu, 19 Jan 2012 16:03:06 +0000] rev 8769
Be more assertive

3 months agoRemove doc:div and doc:toc, add show-in-this-page and reindent. Really this should have been in bug 23052. Ah well. bug24601
Simon MacMullen <simon@rabbitmq.com> [Thu, 19 Jan 2012 15:52:27 +0000] rev 8768
Remove doc:div and doc:toc, add show-in-this-page and reindent. Really this should have been in bug 23052. Ah well.

3 months agoMerge bug23938
Simon MacMullen <simon@rabbitmq.com> [Thu, 19 Jan 2012 15:19:35 +0000] rev 8767
Merge bug23938

3 months agocorrect typo
Matthias Radestock <matthias@rabbitmq.com> [Thu, 19 Jan 2012 13:10:23 +0000] rev 8766
correct typo

3 months agoLanguage tweak for mnesia_sync justification bug24500
Emile Joubert <emile@rabbitmq.com> [Thu, 19 Jan 2012 12:29:09 +0000] rev 8765
Language tweak for mnesia_sync justification

3 months agoBrief explanation justifying the existence of mnesia_sync bug24500
Emile Joubert <emile@rabbitmq.com> [Thu, 19 Jan 2012 11:04:27 +0000] rev 8764
Brief explanation justifying the existence of mnesia_sync

3 months agoMerged bug24641 into default.
Jerry Kuch <jerryk@vmware.com> [Wed, 18 Jan 2012 15:04:08 -0800] rev 8763
Merged bug24641 into default.

3 months agoHiPE credit_flow - this gets MCM -x 1 -y 1 -i 5 from 29.5kHz to 30.8kHz. bug24664
Simon MacMullen <simon@rabbitmq.com> [Wed, 18 Jan 2012 15:48:24 +0000] rev 8762
HiPE credit_flow - this gets MCM -x 1 -y 1 -i 5 from 29.5kHz to 30.8kHz.

3 months agoFor direct client we *do* want the reader pid (amqp_channel) rather than the conn_pid (amqp_direct_connection) here. bug24664
Simon MacMullen <simon@rabbitmq.com> [Wed, 18 Jan 2012 14:46:40 +0000] rev 8761
For direct client we *do* want the reader pid (amqp_channel) rather than the conn_pid (amqp_direct_connection) here.

3 months agoCorrect comment and use spawn_link bug24671
Simon MacMullen <simon@rabbitmq.com> [Wed, 18 Jan 2012 12:20:21 +0000] rev 8760
Correct comment and use spawn_link

3 months agoIgnore bump_credit messages in rabbit_tests. bug24671
Simon MacMullen <simon@rabbitmq.com> [Wed, 18 Jan 2012 11:33:25 +0000] rev 8759
Ignore bump_credit messages in rabbit_tests.

4 months agomerge heads bug24671
Matthias Radestock <matthias@rabbitmq.com> [Tue, 17 Jan 2012 20:08:42 +0000] rev 8758
merge heads

4 months agotwo flavours of 'write' bug24671
Matthias Radestock <matthias@rabbitmq.com> [Tue, 17 Jan 2012 19:40:55 +0000] rev 8757
two flavours of 'write'
Just like in the other applications of credit_flow:send/ack, we need
two flavours of the surrounding API function, i.e. 'write' and
'write_flow' in this case. That way existing call sites, such as in
rabbit_test can remain undisturbed.

4 months agomore sensible arg order bug24671
Matthias Radestock <matthias@rabbitmq.com> [Tue, 17 Jan 2012 19:17:17 +0000] rev 8756
more sensible arg order
and consistent var naming

4 months agoSame fix as c412171663cc for rabbitmq-plugins
Simon MacMullen <simon@rabbitmq.com> [Tue, 17 Jan 2012 17:41:03 +0000] rev 8755
Same fix as c412171663cc for rabbitmq-plugins

4 months agoFlow control: queue slave -> msg_store. bug24671
Simon MacMullen <simon@rabbitmq.com> [Tue, 17 Jan 2012 17:27:15 +0000] rev 8754
Flow control: queue slave -> msg_store.

4 months agoDon't pass the client pid in for write. bug24671
Simon MacMullen <simon@rabbitmq.com> [Tue, 17 Jan 2012 16:52:19 +0000] rev 8753
Don't pass the client pid in for write.

4 months agoFlow control: vq -> msg_store. bug24671
Simon MacMullen <simon@rabbitmq.com> [Tue, 17 Jan 2012 15:32:07 +0000] rev 8752
Flow control: vq -> msg_store.

4 months agoChange the guid related entries names in the process dict. bug24505
Francesco Mazzoli <francesco@rabbitmq.com> [Tue, 17 Jan 2012 15:14:09 +0000] rev 8751
Change the guid related entries names in the process dict.

4 months agoChange naming in rabbit_guid, explicit guid passing in string/0 and binary/0. bug24505
Francesco Mazzoli <francesco@rabbitmq.com> [Tue, 17 Jan 2012 15:04:04 +0000] rev 8750
Change naming in rabbit_guid, explicit guid passing in string/0 and binary/0.

Specifically:
fast_guid() -> gen()
guid() -> secure_gen()
string_guid(Prefix) -> string(Guid, Prefix)
binstring_guid(Prefix) -> binary(Guid, Prefix)

4 months agoSplit guid/0 in guid/0 and the faster fast_guid/0. bug24505
Francesco Mazzoli <francesco@rabbitmq.com> [Tue, 17 Jan 2012 12:19:31 +0000] rev 8749
Split guid/0 in guid/0 and the faster fast_guid/0.

The first function works like the old one (hashes the {serial, counter} each
time.

The second function (fast_guid/0) hashes the serial once, and the XORs it with
the counter each time a new guid is needed. Thus, it is more predictable but
should not produce less unique guids.

If the fast function is used when generating ids for messages, it leads to a
considerable speedup when testing with BroadcastMain (from 67k msg/s to
75k msg/s).

4 months agomerge bug 24265 into default (Somehow support DNs in rabbitmq_auth_mechanism_ssl)
Alexandru Scvortov <alexandru@rabbitmq.com> [Tue, 17 Jan 2012 01:16:12 +0000] rev 8748
merge bug 24265 into default (Somehow support DNs in rabbitmq_auth_mechanism_ssl)

4 months agoclearly this was tested thoroughly
Matthias Radestock <matthias@rabbitmq.com> [Mon, 16 Jan 2012 22:16:11 +0000] rev 8747
clearly this was tested thoroughly

4 months agomake flow control explicit in the channel API bug24664
Matthias Radestock <matthias@rabbitmq.com> [Mon, 16 Jan 2012 22:11:32 +0000] rev 8746
make flow control explicit in the channel API
just as we did for the queue
As a result the existing call sites of rabbit_channel:do, e.g. in
rabbit_test and the erlang client, can be left alone.

4 months agoMerge bug 24638
Simon MacMullen <simon@rabbitmq.com> [Mon, 16 Jan 2012 18:50:29 +0000] rev 8745
Merge bug 24638

4 months agoMerge bug19336 to junk junk
Simon MacMullen <simon@rabbitmq.com> [Mon, 16 Jan 2012 17:58:18 +0000] rev 8744
Merge bug19336 to junk

4 months agosimplify publisher monitoring code bug24664
Matthias Radestock <matthias@rabbitmq.com> [Mon, 16 Jan 2012 15:59:52 +0000] rev 8743
simplify publisher monitoring code

4 months agoonly monitor publishers when they publish with flow control bug24664
Matthias Radestock <matthias@rabbitmq.com> [Mon, 16 Jan 2012 15:43:40 +0000] rev 8742
only monitor publishers when they publish with flow control

4 months agoMerge bug24676
Simon MacMullen <simon@rabbitmq.com> [Mon, 16 Jan 2012 15:18:00 +0000] rev 8741
Merge bug24676

4 months agoMerge bug24674
Simon MacMullen <simon@rabbitmq.com> [Mon, 16 Jan 2012 15:15:47 +0000] rev 8740
Merge bug24674

4 months agoMerge bug21453 into junk junk
Simon MacMullen <simon@rabbitmq.com> [Mon, 16 Jan 2012 15:07:38 +0000] rev 8739
Merge bug21453 into junk

4 months agofix supervisor2 bug reported by dialyzer bug24676
Matthias Radestock <matthias@rabbitmq.com> [Mon, 16 Jan 2012 14:59:57 +0000] rev 8738
fix supervisor2 bug reported by dialyzer
The erroneous code is invoked when a child terminates normally at the
same time as it is being terminated by the supervisor. So
unsurprisingly we haven't seen this, and it's hard to test.

4 months agoprovide two flavours of rabbit_amqqueue:deliver bug24664
Matthias Radestock <matthias@rabbitmq.com> [Mon, 16 Jan 2012 13:16:48 +0000] rev 8737
provide two flavours of rabbit_amqqueue:deliver
- one with flow control and one without
This allows us to leave the various existing call sites of
rabbit_amqqueue:deliver unchanged, and only subject the channel to
flow control. It also reduces the distance between the two places that
need to know which messages should be subject to flow control by
moving the rabbit_flow invocation logic from the channel into
rabbit_amqqueue.

4 months agomerge default into bug24664 bug24664
Matthias Radestock <matthias@rabbitmq.com> [Mon, 16 Jan 2012 12:32:50 +0000] rev 8736
merge default into bug24664

4 months agoMerge bug24681
Simon MacMullen <simon@rabbitmq.com> [Mon, 16 Jan 2012 12:19:25 +0000] rev 8735
Merge bug24681

4 months agoRemove unnecessary process bug24500
Emile Joubert <emile@rabbitmq.com> [Mon, 16 Jan 2012 12:18:44 +0000] rev 8734
Remove unnecessary process

4 months agomerge rabbit_router:deliver into rabbit_amqqueue:deliver bug24681
Matthias Radestock <matthias@rabbitmq.com> [Mon, 16 Jan 2012 11:03:38 +0000] rev 8733
merge rabbit_router:deliver into rabbit_amqqueue:deliver

4 months agoit's really not worthwhile exporting process_channel_frame bug24664
Matthias Radestock <matthias@rabbitmq.com> [Mon, 16 Jan 2012 08:30:26 +0000] rev 8732
it's really not worthwhile exporting process_channel_frame

4 months agodo not hard-wire the channel interaction into process_channel_frame bug24664
Matthias Radestock <matthias@rabbitmq.com> [Fri, 13 Jan 2012 17:20:45 +0000] rev 8731
do not hard-wire the channel interaction into process_channel_frame
This makes that function more versatile, e.g. permitting the Erlang
client to skip the credit_flow:send step.

4 months agoReinstate a bit of code that accidentally got nuked in 9a87718c74df. bug24664
Simon MacMullen <simon@rabbitmq.com> [Fri, 13 Jan 2012 16:23:54 +0000] rev 8730
Reinstate a bit of code that accidentally got nuked in 9a87718c74df.

4 months agosender_down / receiver_down -> peer_down. bug24664
Simon MacMullen <simon@rabbitmq.com> [Fri, 13 Jan 2012 16:15:27 +0000] rev 8729
sender_down / receiver_down -> peer_down.

4 months agoMerge heads of bug 24664 again. bug24664
Simon MacMullen <simon@rabbitmq.com> [Fri, 13 Jan 2012 16:11:20 +0000] rev 8728
Merge heads of bug 24664 again.

4 months agorabbit_flow -> credit_flow bug24664
Simon MacMullen <simon@rabbitmq.com> [Fri, 13 Jan 2012 16:10:28 +0000] rev 8727
rabbit_flow -> credit_flow

4 months agocosmetic(ish) bug24664
Matthias Radestock <matthias@rabbitmq.com> [Fri, 13 Jan 2012 16:06:54 +0000] rev 8726
cosmetic(ish)

4 months agoRevert b03fe604af24. Not enough sleep.
Simon MacMullen <simon@rabbitmq.com> [Fri, 13 Jan 2012 16:03:40 +0000] rev 8725
Revert b03fe604af24. Not enough sleep.

4 months agoMerge heads of bug 24664 bug24664
Simon MacMullen <simon@rabbitmq.com> [Fri, 13 Jan 2012 16:01:20 +0000] rev 8724
Merge heads of bug 24664

4 months agoMove rabbit_flow:send invocation from router into channel; monitor all queues in the channel. bug24664
Simon MacMullen <simon@rabbitmq.com> [Fri, 13 Jan 2012 16:00:43 +0000] rev 8723
Move rabbit_flow:send invocation from router into channel; monitor all queues in the channel.