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

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

12 hours 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.

20 hours 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)

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

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

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

15 hours 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">>]

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

17 hours 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.

36 hours 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

36 hours 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

37 hours 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.

37 hours 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

38 hours 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.

38 hours 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.

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

38 hours 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.

39 hours 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.

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

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

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

2 days 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.

2 days 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.

2 days 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...

2 days 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.

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

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

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

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

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

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

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

2 days 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.

2 days 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.

2 days 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.

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

2 days 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.

2 days 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.

2 days 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*.

2 days 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.

2 days 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.

2 days 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.

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

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

3 days 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 days agoJunk bug24703 junk
Simon MacMullen <simon@rabbitmq.com> [Tue, 31 Jan 2012 18:06:31 +0000] rev 8876
Junk bug24703

3 days 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 days agoMerged bug24671 into default
Emile Joubert <emile@rabbitmq.com> [Tue, 31 Jan 2012 17:23:03 +0000] rev 8874
Merged bug24671 into default

3 days 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 days agoMerge default. bug24234
Francesco Mazzoli <francesco@rabbitmq.com> [Tue, 31 Jan 2012 14:27:04 +0000] rev 8872
Merge default.

3 days 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 days 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 days agoMerge master in. bug24505
Francesco Mazzoli <francesco@rabbitmq.com> [Tue, 31 Jan 2012 13:48:58 +0000] rev 8869
Merge master in.

3 days 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 days agoMerge bug22470
Simon MacMullen <simon@rabbitmq.com> [Tue, 31 Jan 2012 13:55:40 +0000] rev 8867
Merge bug22470

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

3 days 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 days 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 days 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 days agoMerge bug24718
Simon MacMullen <simon@rabbitmq.com> [Tue, 31 Jan 2012 12:03:36 +0000] rev 8862
Merge bug24718

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

3 days 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 days 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 days 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 days 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

4 days 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

4 days 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.

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

4 days 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

4 days 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.

4 days 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.

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

4 days 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

4 days 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

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

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

7 days 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

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

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

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

8 days 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

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

8 days 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

8 days 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

8 days 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)

9 days 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

9 days 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

9 days 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.

9 days 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

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

8 days 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.

8 days 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.

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

8 days 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

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

4 weeks 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

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

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

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

9 days 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.

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

9 days 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.

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

9 days 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.

9 days 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.

9 days 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.

9 days 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.

10 days 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

10 days 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

10 days 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

10 days 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

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

10 days 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.

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

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

10 days 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.

10 days 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).

10 days 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).

10 days 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.

10 days 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.

10 days 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"

10 days 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

10 days 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.

10 days 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.

10 days 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.

10 days 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.

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

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

11 days 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.

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

11 days 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

11 days 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

11 days 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

11 days 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*

11 days 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

11 days 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

11 days 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

12 days 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

12 days 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

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

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

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

2 weeks 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

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

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

2 weeks 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)

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

2 weeks 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.

2 weeks 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.

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

2 weeks 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!

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

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

2 weeks 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.

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

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

2 weeks 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

2 weeks 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

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

2 weeks 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.

2 weeks 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.

2 weeks 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

2 weeks 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.

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

2 weeks 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.

2 weeks 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

2 weeks 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

2 weeks 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.

2 weeks 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.

2 weeks 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.

2 weeks 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.

2 weeks 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)

2 weeks 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).

2 weeks 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)

2 weeks 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

2 weeks 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.

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

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

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

2 weeks 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

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

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

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

2 weeks 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.

2 weeks 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.

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

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

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

2 weeks 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

2 weeks 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

3 weeks 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.

3 weeks 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.

3 weeks 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.

3 weeks 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.

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

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

3 weeks 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.

3 weeks 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

3 weeks 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.