summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* reconfigure ERLANG_HOME during the updateGabriele Santomaggio2016-04-281-63/+6
| | | | | | The `un.StrContains` macro is now useless, so we remove it. Fixes #690.
* Merge pull request #771 from rabbitmq/rabbitmq-server-crash-on-damaged-ioJean-Sébastien Pédron2016-04-261-8/+10
|\ | | | | Improve notifications about damaged I/O subsystem
| * Improve notifications about damaged I/O subsystemAlexey Lebedeff2016-04-261-8/+10
|/ | | | | | | | | | | | 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
* Merge pull request #770 from rabbitmq/rabbitmq-server-dont-hardcode-df-pathJean-Sébastien Pédron2016-04-261-2/+4
|\ | | | | Don't use hardcoded path to `df`
| * Don't use hardcoded path to `df`Alexey Lebedeff2016-04-261-2/+4
|/ | | | Search the `PATH` instead, because e.g. NixOS has no `/bin/df`.
* Merge pull request #722 from rabbitmq/rabbitmq-auth-backend-ldap-13rabbitmq_v3_6_2_rc1Daniil Fedotov2016-04-221-2/+2
|\ | | | | Include vhost to direct connection authentication properties.
| * Merge branch 'stable' into rabbitmq-auth-backend-ldap-13Daniil Fedotov2016-04-204-31/+99
| |\ | |/ |/|
* | Merge pull request #762 from bogdando/bug/1541471rabbitmq_v3_6_2_milestone5Michael Klishin2016-04-201-0/+1
|\ \ | | | | | | Stop process when rabbit is running but is not connected to master.
| * | Stop process when rabbit is running but is not connected to master.Bogdan Dobrelya2016-04-201-0/+1
|/ / | | | | | | | | | | | | | | | | 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>
* | Merge pull request #723 from rabbitmq/rabbitmq-server-698Michael Klishin2016-04-201-23/+88
|\ \ | | | | | | Replace OTP version consistency with mnesia protocol consistency
| * \ Merge branch 'stable' into rabbitmq-server-698Michael Klishin2016-04-189-148/+251
| |\ \
| * | | ExplainMichael Klishin2016-04-131-0/+2
| | | |
| * | | Check mnesia consistency starting from 3.6.2, OTP consistency in older versionsDaniil Fedotov2016-04-121-27/+31
| | | |
| * | | Compatibility with 3.6.xDaniil Fedotov2016-04-111-16/+25
| | | |
| * | | NamingMichael Klishin2016-04-111-1/+1
| | | |
| * | | Update commentMichael Klishin2016-04-111-1/+2
| | | |
| * | | NamingDaniil Fedotov2016-04-071-7/+8
| | | |
| * | | Check mnesia consistency by negotiating protocolDaniil Fedotov2016-04-011-21/+71
| | | |
| * | | Ignore OTP version in clusteringDaniil Fedotov2016-04-011-4/+2
| | | |
* | | | Merge pull request #585 from rabbitmq/rabbitmq-server-343bisMichael Klishin2016-04-201-6/+6
|\ \ \ \ | | | | | | | | | | Batch writes to the index on requeue
| * \ \ \ Merge branch 'stable' into rabbitmq-server-343bisMichael Klishin2016-04-2028-216/+642
| |\ \ \ \ | | | |/ / | | |/| |
| * | | | Batch writes to the index on requeueLoïc Hoguin2016-03-041-6/+6
| | | | |
* | | | | Merge pull request #745 from rabbitmq/rabbitmq-server-744Daniil Fedotov2016-04-191-2/+4
|\ \ \ \ \ | |_|/ / / |/| | | | rabbit_policy: Fix several issues with policy updates
| * | | | rabbit_policy: Fix case clause for missing vhostJean-Sébastien Pédron2016-04-191-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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]
| * | | | rabbit_policy: Fix transaction return value in udpate_policies()Jean-Sébastien Pédron2016-04-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a vhost is removed while policies are being updated, the transaction returned `ok` while the calling code expects a tuple. Fixes #755. [#117522069]
| * | | | rabbit_policy: Forward exit signals update_policies() transactionJean-Sébastien Pédron2016-04-181-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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]
| | | | * Merge branch 'stable' into rabbitmq-auth-backend-ldap-13Michael Klishin2016-04-1810-149/+267
| | | | |\ | |_|_|_|/ |/| | | |
* | | | | Merge pull request #748 from rabbitmq/rabbitmq-server-714rabbitmq_v3_6_2_milestone4Michael Klishin2016-04-161-130/+221
|\ \ \ \ \ | | | | | | | | | | | | Stop deleted GM member when partial partition is detected
| * | | | | Stop deleted GM member when partial partition is detectedDiana Corbacho2016-04-141-130/+221
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | * Avoids deadlock on syncing queues and inconsistent state across the cluster * Queue must restart and rejoin the group
* | | | | Merge branch 'binarin-rabbitmq-server-dead-user-diagnostics' into stableMichael Klishin2016-04-131-1/+9
|\ \ \ \ \
| * | | | | WordingMichael Klishin2016-04-131-1/+1
| | | | | |
| * | | | | Merge branch 'rabbitmq-server-dead-user-diagnostics' of ↵Michael Klishin2016-04-131-1/+9
| |\ \ \ \ \ |/ / / / / / | | | | | | | | | | | | https://github.com/binarin/rabbitmq-server into binarin-rabbitmq-server-dead-user-diagnostics
| * | | | | Detect missing 'user' processAlexey Lebedeff2016-04-131-1/+9
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | '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
* | | | | Merge pull request #743 from rabbitmq/rabbitmq-server-742Daniil Fedotov2016-04-131-2/+8
|\ \ \ \ \ | |/ / / / |/| | | | rabbitmqctl set_policy: Format error messages
| * | | | rabbitmqctl set_policy: Format error messagesJean-Sébastien Pédron2016-04-131-2/+8
|/ / / / | | | | | | | | | | | | | | | | References #742. [#117521029]
* | | | Merge pull request #731 from bogdando/bug/1567355Michael Klishin2016-04-071-0/+1
|\ \ \ \ | | | | | | | | | | Stop a rabbitmq pacemaker resource when monitor fails
| * | | | Stop a rabbitmq pacemaker resource when monitor failsBogdan Dobrelya2016-04-071-0/+1
|/ / / / | | | | | | | | | | | | | | | | | | | | Related Fuel bug https://bugs.launchpad.net/fuel/+bug/1567355 Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
* | | | Merge pull request #726 from rabbitmq/rabbitmq-management-166rabbitmq_v3_6_2_milestone3Michael Klishin2016-04-051-1/+1
|\ \ \ \ | | | | | | | | | | Update owner of mgmt_db tables
| * \ \ \ Merge branch 'stable' into rabbitmq-management-166Michael Klishin2016-04-051-2/+2
| |\ \ \ \
| * | | | | Update owner of mgmt_db tablesDiana Corbacho2016-04-051-1/+1
| | |_|/ / | |/| | |
* | | | | Merge pull request #728 from rabbitmq/rabbitmq-server-210Michael Klishin2016-04-054-12/+9
|\ \ \ \ \ | |_|/ / / |/| | | | Override CONF_ENV_FILE with RABBITMQ_CONF_ENV_FILE
| * | | | Override CONF_ENV_FILE with RABBITMQ_CONF_ENV_FILEDaniil Fedotov2016-04-054-12/+9
|/ / / /
* | | | Merge pull request #724 from ↵Michael Klishin2016-04-051-2/+2
|\ \ \ \ | |/ / / |/| | | | | | | | | | | binarin/rabbitmq-server-ocf-reset-mnesia-overquoting Fix half-hearted attempt to erase mnesia in OCF RA
| * | | Fix half-hearted attempt to erase mnesia in OCF RAAlexey Lebedeff2016-04-041-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Merge pull request #715 from binarin/rabbitmq-server-151Jean-Sébastien Pédron2016-04-012-1/+16
|\ \ \ \ | |/ / / | | | | Guess thread pool size on startup
| * | | Guess thread pool size on startupAlexey Lebedeff2016-03-302-1/+16
| | | | | | | | | | | | | | | | Fixes #151
| | | * Includes VHost to AuthProps.Ayanda Dube2016-04-011-2/+2
| |_|/ |/| | | | | | | | Ref: rabbitmq/rabbitmq-auth-backend-ldap#13
* | | Merge pull request #721 from rabbitmq/rabbitmq-server-717Michael Klishin2016-04-011-1/+1
|\ \ \ | |/ / |/| | Allow memory-relative disk-free limits greater than 1.0
| * | Allow memory-relative disk-free limits greater than 1.0Brandon Shroyer2016-03-311-1/+1
|/ /
* | Merge pull request #708 from rabbitmq/rabbitmq-server-705rabbitmq_v3_6_2_milestone2Michael Klishin2016-03-251-4/+3
|\ \ | | | | | | Fixed RABBITMQ_IO_THREAD_POOL_SIZE on rabbitmq-server.bat