summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Use ?assertEquals where possibleMichael Klishin2017-08-211-45/+30
|
* WordingMichael Klishin2017-08-211-4/+4
|
* Log configuration testsDaniil Fedotov2017-08-212-4/+685
|
* Refactor log configuration to be consistent with log doc guideDaniil Fedotov2017-08-185-130/+362
|
* Remove timeout swithch from the node_health_check command.Daniil Fedotov2017-08-141-1/+1
| | | | | The timeout switch is already a default switch, the command should not redefine it.
* Merge branch 'stable'Michael Klishin2017-08-111-2/+14
|\
| * Merge pull request #1326 from rabbitmq/rabbitmq-server-1324rabbitmq_v3_6_11_rc3rabbitmq_v3_6_11Michael Klishin2017-08-101-2/+14
| |\ | | | | | | Start/stop windows service using `net` utility instead of `erlsrv`
| | * Start/stop windows service using `net` utility instead of `erlsrv`Daniil Fedotov2017-08-081-2/+14
| | | | | | | | | | | | | | | | | | `erlsrv` doc suggests to use windows system control tools to control services. It prints weird error when error is occured (for example access is denied), so using `net` is prefered.
* | | Closes #1330Michael Klishin2017-08-111-2/+2
| | | | | | | | | | | | Current management plugin config schema uses `day` instead of `24hours`: https://github.com/rabbitmq/rabbitmq-management/blob/master/priv/schema/rabbitmq_management.schema.
* | | Merge branch 'stable'Michael Klishin2017-08-101-1/+2
|\ \ \ | |/ /
| * | Move delays to the test where they belongMichael Klishin2017-08-101-1/+2
| | |
* | | Merge branch 'stable'Michael Klishin2017-08-101-0/+3
|\ \ \ | |/ /
| * | Inject a delay after killing nodeMichael Klishin2017-08-101-0/+3
| | | | | | | | | | | | | | | | | | Like we do in partition_SUITE. References #1323.
* | | Merge branch 'stable'Michael Klishin2017-08-102-7/+30
|\ \ \ | |/ / | | | | | | | | | Conflicts: src/rabbit_amqqueue.erl
| * | Merge pull request #1325 from rabbitmq/rabbitmq-server-1323Michael Klishin2017-08-102-7/+30
| |\ \ | | |/ | |/| Clean up orphaned exclusive queues
| | * Add test for cleaning up dead exclusive queuesLuke Bakken2017-08-093-17/+23
| | |
| | * Begin adding test for #1323Luke Bakken2017-08-091-1/+11
| | |
| | * Correctly check for exclusive queueLuke Bakken2017-08-081-2/+2
| | |
| | * Add is_exclusive to queue deletion clauseLuke Bakken2017-08-081-6/+13
| |/
* | Merge pull request #1313 from rabbitmq/rabbitmq-cli-207Daniil Fedotov2017-08-091-0/+27
|\ \ | | | | | | Functions to list unresponsive queues
| * \ Merge branch 'master' into rabbitmq-cli-207Daniil Fedotov2017-08-0926-220/+822
| |\ \ | |/ / |/| |
* | | Merge pull request #1322 from rabbitmq/rabbitmq-server-1255Daniil Fedotov2017-08-083-0/+8
|\ \ \ | | | | | | | | Set ERL_CRASH_DUMP location to rabbitmq log directory
| * | | Set ERL_CRASH_DUMP location to rabbitmq log directoryDaniil Fedotov2017-08-033-0/+8
| | | |
* | | | Use lager sink API for logs.Daniil Fedotov2017-08-072-30/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Lager sink parse-transform allows us to use a fake module name to select sinks. It's more convenient that to use a helper function for every module. Get rif of `rabbit_log_connection` as a sink qualifier. Qualifiers should be compatible with pre-3.7 qualifiers for plugin developers. [#149634975]
* | | | Do not run a message store migration if there are no durable queues.Daniil Fedotov2017-08-041-7/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | If there are no queues to migrate, we should not spend time starting old message store and doing an empty migration. Log that there is no migration. Delete the old message store which can cintain transient queues data.
* | | | Add upgrade log sink to windows scripts.Daniil Fedotov2017-08-043-1/+13
| | | | | | | | | | | | | | | | | | | | Upgrade sink is used for logging queue data upgrades. It should be configured in the start arguments of rabbitmq server.
* | | | Merge pull request #1318 from rabbitmq/rabbitmq-management-460Michael Klishin2017-08-031-5/+14
|\ \ \ \ | |/ / / |/| | | Change the `state` field in vhost info to `cluster_state`.
| * | | Merge branch 'master' into rabbitmq-management-460Michael Klishin2017-08-036-43/+152
| |\ \ \ | |/ / / |/| | |
* | | | Merge pull request #1316 from rabbitmq/rabbitmq-server-1314Michael Klishin2017-08-034-15/+91
|\ \ \ \ | | | | | | | | | | Start queue mirrors after vhost recovery instead of node start
| * \ \ \ Merge branch 'master' into rabbitmq-server-1314Michael Klishin2017-08-031-11/+39
| |\ \ \ \
| * | | | | After-merge test fix. Restart vhost supervisor with start_vhostDaniil Fedotov2017-08-011-2/+2
| | | | | |
| * | | | | Test suite updatesMichael Klishin2017-08-011-3/+4
| | | | | |
| * | | | | WordingMichael Klishin2017-08-012-7/+7
| | | | | |
| * | | | | Merge branch 'master' into rabbitmq-server-1314Michael Klishin2017-08-0115-107/+272
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: test/dynamic_ha_SUITE.erl
| * | | | | | Fix compile warningLuke Bakken2017-07-311-1/+1
| | | | | | |
| * | | | | | Start slave queues after vhost recover, instead of node start.Daniil Fedotov2017-07-314-15/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Vhost supervisors can crash and restart without crashing the node, so the slave queues on this vhosts should be started after the vhsot recovery instead of node boot process. Fixes #1314 [#149484151]
* | | | | | | Make already_started error explicit in start_vhost. Export start_vhost/2Daniil Fedotov2017-08-031-17/+22
| |_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Already started status can be used by CLI tools and should be returned from `start_vhost` function. `start_vhost/2` is used in the management API
* | | | | | Raise a protocol error when declaring a queue on a stopped vhostv3.7.0-beta.19Daniil Fedotov2017-08-021-4/+10
| | | | | |
* | | | | | Merge pull request #1320 from rabbitmq/rabbitmq-server-1319Michael Klishin2017-08-021-7/+29
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | Repeat `rabbit_amqqueue:with` operation for a stopped queue.
| * | | | | Repeat `rabbit_amqqueue:with` operation for a stopped queue.Daniil Fedotov2017-08-021-7/+29
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A stopped queue can migrate to a synchronized slave if it's mirrored, so we should retry an operation if it has mirrors to migrate to. Fixes #1319
| | * | | Change vhost status from down to stoppedDaniil Fedotov2017-08-021-1/+1
| | | | |
| | * | | Change the `state` field in vhost info to `cluster_state`.Daniil Fedotov2017-08-011-5/+14
| |/ / / |/| | | | | | | | | | | | | | | | | | | Vhost supervisor status can be different on different nodes. Reporting just the current node state doesn't make much sense for both management and the CLI.
* | | | Merge pull request #1315 from rabbitmq/rabbitmq-server-1310Michael Klishin2017-08-0110-67/+210
|\ \ \ \ | | | | | | | | | | Check if vhost supervisor is running when starting mirrors
| * | | | Restore delays used earlierMichael Klishin2017-08-011-3/+3
| | | | |
| * | | | Make connection tracking handler more defensiveMichael Klishin2017-08-011-3/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a vhost is deleted, both vhost_deleted and vhost_down will be emitted, resulting in double deletion. rabbit_networking:close_connection/1 therefore can throw an exception about an unknown connection pid. The handler needs to account for that. While at it, change log messages to be less alarming and simply mention vhost shutdown as opposed to "a database failure". References 7a82b43bf12b737250957081d0b0d84b21b3bf72. Signed-off-by: Luke Bakken <lbakken@pivotal.io>
| * | | | Merge branch 'master' into rabbitmq-server-1310Michael Klishin2017-07-318-38/+374
| |\ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | Conflicts: test/vhost_SUITE.erl
* | | | | Merge pull request #1309 from rabbitmq/rabbitmq-server-1303Michael Klishin2017-07-316-41/+63
|\ \ \ \ \ | |_|/ / / |/| | | | Set queue state to 'stopped' when terminating.
| * | | | Merge branch 'master' into rabbitmq-server-1303Michael Klishin2017-07-283-4/+4
| |\ \ \ \
| * | | | | Do not try to perform a queue operation in `rabbit_amqqueue:with` if the ↵Daniil Fedotov2017-07-272-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | queue is stopped. The only operation in `with` which can be performed on a stopped queue is `delete`. It will call `delete_crashed` based on the `{absent, Q, stopped}` result from `with`.
| * | | | | Merge branch 'master' into rabbitmq-server-1303Michael Klishin2017-07-263-2203/+96
| |\ \ \ \ \