| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
The `un.StrContains` macro is now useless, so we remove it.
Fixes #690.
|
| |\
| |
| | |
Improve notifications about damaged I/O subsystem
|
| |/
|
|
|
|
|
|
|
|
|
|
| |
Follow-up to https://github.com/rabbitmq/rabbitmq-server/pull/747
It's the best thing that can be done. Without `exit` anything inside
rabbit could hang - most prone to it is the `start_app` action. Crashing
loudly will be helpful, because during 2016 there were at least 2
production investigations about that issue.
And here is the script that I was using for reproduction:
https://gist.github.com/binarin/edd4102b7262d53e2cf09c76d5ca8e9e
|
| |\
| |
| | |
Don't use hardcoded path to `df`
|
| |/
|
|
| |
Search the `PATH` instead, because e.g. NixOS has no `/bin/df`.
|
| |\
| |
| | |
Include vhost to direct connection authentication properties.
|
| | |\
| |/
|/| |
|
| |\ \
| | |
| | | |
Stop process when rabbit is running but is not connected to master.
|
| |/ /
| |
| |
| |
| |
| |
| |
| |
| | |
It's should goes down due to avoid split brain.
Related Fuel bug: https://bugs.launchpad.net/fuel/+bug/1541471
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
Co-authored-by: Maciej Relewicz <mrelewicz@mirantis.com>
|
| |\ \
| | |
| | | |
Replace OTP version consistency with mnesia protocol consistency
|
| | |\ \ |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| |\ \ \ \
| | | | |
| | | | | |
Batch writes to the index on requeue
|
| | |\ \ \ \
| | | |/ /
| | |/| | |
|
| | | | | | |
|
| |\ \ \ \ \
| |_|/ / /
|/| | | | |
rabbit_policy: Fix several issues with policy updates
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
If the vhost is missing, `rabbit_vhost:assert(VHost)` throws
`{error, {no_such_vhost, _}}` which is caught by `mnesia:async_dirty/1`
and wrapped inside a tuple which is passed to `exit()`. Therefore,
the catch in the transaction function returns:
`{'EXIT', {throw, {error, {no_such_vhost, _}}}}`
not:
`{error, {no_such_vhost, _}}`
Fixes #759.
[#117522069]
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
If a vhost is removed while policies are being updated, the transaction
returned `ok` while the calling code expects a tuple.
Fixes #755.
[#117522069]
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Thus, any transaction abort are properly forwarded. This fixes a
`function_clause` because the code called `update_exchange()` or
`update_queue()` with the caught exit signal.
Fixes #744.
[#117522069]
|
| | | | | |\
| |_|_|_|/
|/| | | | |
|
| |\ \ \ \ \
| | | | | |
| | | | | | |
Stop deleted GM member when partial partition is detected
|
| | |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* Avoids deadlock on syncing queues and inconsistent state across
the cluster
* Queue must restart and rejoin the group
|
| |\ \ \ \ \ |
|
| | | | | | | |
|
| | |\ \ \ \ \
|/ / / / / /
| | | | | |
| | | | | | |
https://github.com/binarin/rabbitmq-server into binarin-rabbitmq-server-dead-user-diagnostics
|
| | |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
'user' process can be unrecoverably crashed with good timing. As a
result some rabbitmqctl commands will stop working, e.g. add_user:
rabbitmqctl -n rabbit@localhost add_user ley ley
Creating user "ley" ...
Error: {badarg,
[{erlang,group_leader,[undefined,<5428.28745.44>],[]},
{rabbit_log,with_local_io,1,
[{file,"src/rabbit_log.erl"},{line,99}]},
{rabbit_auth_backend_internal,add_user,2,
[{file,"src/rabbit_auth_backend_internal.erl"},{line,149}]},
{rpc,'-handle_call_call/6-fun-0-',5,
[{file,"rpc.erl"},{line,206}]}]}
Exact sequence events that will crash 'user' is the following:
- Move startup_log file to a separate partition
- Start server
- Fill partition to the fullest
- Do stop_app/start_app several times, so all the remaning slack will be
used by log records.
- At some point 'user' will crash.
- Free some space on partition with startup_log
- Observe that any rabbit action that requires logging is now broken
|
| |\ \ \ \ \
| |/ / / /
|/| | | | |
rabbitmqctl set_policy: Format error messages
|
| |/ / / /
| | | |
| | | |
| | | |
| | | | |
References #742.
[#117521029]
|
| |\ \ \ \
| | | | |
| | | | | |
Stop a rabbitmq pacemaker resource when monitor fails
|
| |/ / / /
| | | |
| | | |
| | | |
| | | |
| | | | |
Related Fuel bug https://bugs.launchpad.net/fuel/+bug/1567355
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
|
| |\ \ \ \
| | | | |
| | | | | |
Update owner of mgmt_db tables
|
| | |\ \ \ \ |
|
| | | |_|/ /
| |/| | | |
|
| |\ \ \ \ \
| |_|/ / /
|/| | | | |
Override CONF_ENV_FILE with RABBITMQ_CONF_ENV_FILE
|
| |/ / / / |
|
| |\ \ \ \
| |/ / /
|/| | |
| | | |
| | | | |
binarin/rabbitmq-server-ocf-reset-mnesia-overquoting
Fix half-hearted attempt to erase mnesia in OCF RA
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
ocf_run does `"$@"`, so "${MNESIA_FILES}/*" wasn't expanded and mnesia
directory wasn't actually cleaned up
Fuel bug: https://bugs.launchpad.net/fuel/+bug/1565868
|
| |\ \ \ \
| |/ / /
| | | | |
Guess thread pool size on startup
|
| | | | |
| | | |
| | | |
| | | | |
Fixes #151
|
| | |_|/
|/| |
| | |
| | | |
Ref: rabbitmq/rabbitmq-auth-backend-ldap#13
|
| |\ \ \
| |/ /
|/| | |
Allow memory-relative disk-free limits greater than 1.0
|
| |/ / |
|
| |\ \
| | |
| | | |
Fixed RABBITMQ_IO_THREAD_POOL_SIZE on rabbitmq-server.bat
|