| Commit message (Collapse) | Author | Age | Files | Lines |
| |\
| |
| | |
Fix a potential badmatch error
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
| |
You can get `badmatch` if you run the broker with arguments like this:
```
make RABBITMQ_ALLOW_INPUT=true RABBITMQ_ADVANCED_CONFIG_FILE=/Users/lbakken/issues/pt/159000315-conf-format-check/test3/rabbitmq.conf RABBITMQ_CONFIG_FILE=/Users/lbakken/issues/pt/159000315-conf-format-check/test3/advanced.config run-broke
```
With this change, the following message is printed:
```
ERROR: RABBITMQ_ADVANCED_CONFIG_FILE: Expected extension .config, got extension .conf for file /Users/lbakken/issues/pt/159000315-conf-format-check/test3/rabbitmq.conf
```
|
| |
|
|
|
|
| |
On startup some environments do not expect schema dir if they
use the old config. The script might fail with an error, while
there is no reason to.
|
| |\
| |
| | |
Idempotent binding removal
|
| | |
| |
| |
| |
| | |
...that we've concluded we cannot use dirty deletes in at least some areas.
The sentence left is pretty to the point.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Optimizations introduced in #1589 caused the removal of bindings to
be non-idempotent, as the removal of routing information with dirty
deletes did not allow for full transaction rollback. This commit
reverts that change, losing some of the performance improvements in
favour of data correctness.
[#160100569]
|
| |\ \
| |/
|/|
| |
| | |
rabbitmq/forgiving-binding-removal-on-queue-deletion
Don't error when a queue that's being deleted has no bindings left to remove on transaction retries
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
It can happen due to retries of (currently not guaranteed to be idempotent,
which is a separate issue in the works) binding removal. Since both
the queue and its bindings are undergoing removal, don't fail when
there's nothing left to be removed for the current transaction [attempt].
This avoids obscure and non-actionable errors in the log ({error, not_found}).
Note that the error is also not handled by the callers and ignoring them
is the only reasonable course of action that I can think of.
Per discussion with @dumbbell @dcorbacho @hairyhum.
|
| |/ |
|
| |\
| |
| | |
Change example to use parameter that exists
|
| |/
|
|
| |
"federation local_username" does not exist anymore
|
| |\
| |
| | |
Config files check
|
| | | |
|
| | | |
|
| | | |
|
| | |
| |
| |
| | |
the .config check
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| | |
If advanced config file has a wrong extension and is to be used as
a -config argument - the script should fail with an error.
|
| | |
| |
| |
| |
| |
| | |
The ${FOO%.*} expression removes everything after the last dot,
which returns wrong results for paths like /foo/bar.baz/bar.
Make it use basename and dirname intead.
|
| | | |
|
| | | |
|
| | |
| |
| |
| | |
config is used
|
| |\ \
| | |
| | | |
Use process status to pass the auto_delete flag
|
| |/ /
| |
| |
| |
| | |
Using a terminate reason makes the channel crash
[#159483364]
|
| |\ \
| | |
| | | |
Increase performance of auto_delete queues deletion on channel down
|
| | |\ \
| |/ /
|/| | |
|
| |\ \ \
| |_|/
|/| | |
Add detail for channel_max 0 value
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| |/ /
| |
| |
| |
| |
| | |
It is not immediately obvious that a 0 value for channel_max means infinite or "no limit". This change will result in the following message being logged:
"negotiated channel_max = 0 (no limit) is higher than the maximum allowed value (2047)"
|
| | | |
|
| |\ \
| | |
| | | |
Handle generic data structures in priority queue info callback
|
| |/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The priority queue implementation makes assumptions over the
data format returned by the underlying backing queue
`info` callback.
This causes priority queues to crash if used together with other
modules implementing the `rabbit_backing_queue` behaviour and
returning additional data with the `info` callback.
As we cannot predict the format of the data the backing queue
`info` callback could return, we just replace it with the undefined
keyword.
Signed-off-by: Matteo Cafasso <noxdafox@gmail.com>
|
| |/
|
|
|
|
|
|
| |
Re-introduce previous delete guard for auto_delete queues.
Undo performance enhancement introduced by #1513 for this use case.
All other bulk deletions remain the same.
[#159483364]
|
| | |
|
| | |
|
| |\
| |
| | |
Set two environment variables in the same manner as on Unix systems
|
| |/
|
|
|
|
| |
SERVER_START_ARGS and SERVER_ADDITIONAL_ERL_ARGS from the rabbitmq-env-conf.bat file need to be honored here.
[159602360]
|
| |\
| |
| | |
Add support for syslog server hostname
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
schlagert/syslog version 3.4.3 adds support for specifying a host name for `dest_host`, this PR supports it as well
See this gist for my test procedure:
git@gist.github.com:7ab6348839c3dc7b18b6662f024e089c.git
|
| |\ \
| |/
|/| |
Correct resource limit defaults
|
| | |
| |
| |
| | |
118b448631a699736f1380d7990989c7e61f94ff, back out my changes
|
| |/
|
|
|
|
|
|
|
| |
They were bumped to x10 the values in 118b448631a699736f1380d7990989c7e61f94ff
by mistake.
Kudos to Chris Friesen for reporting this.
Closes #1659.
|