summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add support for listing only local queuesAlexey Lebedeff2016-08-127-44/+257
| | | | | | | | | | | Partially implements https://github.com/rabbitmq/rabbitmq-server/issues/851 - Made old `--online`/`--offline` options mutually exclusive between themselves and the new `--local` option - Added documentation both for the old and the new option - Fixed some ugly indentation in generated usage (only `set_policy` wrapped line remains unfixed) - Added integration test suite for `rabbitmqctl list_queues`
* Commit .deb and .rpm change logsMichael Klishin2016-08-052-0/+9
|
* Merge branch 'rabbitmq-server-904' into stablerabbitmq_v3_6_5_milestone2rabbitmq_v3_6_5_milestone1rabbitmq_v3_6_5Michael Klishin2016-08-021-1/+3
|\
| * added rabbit_registry requireGabriele Santomaggio2016-08-021-1/+3
|/
* Merge pull request #898 from binarin/rabbitmq-server-868-secsMichael Klishin2016-07-301-1/+1
|\ | | | | Fix some type specs
| * Fix some type specsAlexey Lebedeff2016-07-291-1/+1
|/ | | | Forgot to update specs in #868
* Commit .deb and .rpm change logsMichael Klishin2016-07-292-0/+9
|
* Merge pull request #896 from rabbitmq/rabbitmq-server-895rabbitmq_v3_6_4D Corbacho2016-07-292-2/+2
|\ | | | | Bump default VM atom table limit to 5M
| * Bump default VM atom table size to 5MMichael Klishin2016-07-282-2/+2
| | | | | | | | | | | | See #895 for background and reasoning. Fixes #895.
* | Merge pull request #894 from lemenkov/toctou_in_cluster_statusMichael Klishin2016-07-281-3/+6
|\ \ | |/ |/| Don't die in case of faulty node
| * Don't die in case of faulty nodePeter Lemenkov2016-07-281-3/+6
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch fixes TOCTOU issue introduced in the following commit: * rabbitmq/rabbitmq-server@93b9e37c3ea0cade4e30da0aa1f14fa97c82e669 If the node was just removed from the cluster, then there is a small window when it is still listed as a member of a Mnesia cluster locally. We retrieve list of nodes by calling locally ```erlang unsafe_rpc(Node, rabbit_mnesia, cluster_nodes, [running]). ``` However retrieving status from that particular failed node is no longer available and throws an exception. See `alarms_by_node(Name)` function, which is simply calls `unsafe_rpc(Name, rabbit, status, [])` for this node. This `unsafe_rpc/4` function is basically a wrapper over `rabbit_misc:rpc_call/4` which translates `{badrpc, nodedown}` into exception. This exception generated by `alarms_by_node(Name)` function call emerges on a very high level, so rabbitmqct thinks that the entire cluster is down, while generating a very bizarre message: Cluster status of node 'rabbit@overcloud-controller-0' ... Error: unable to connect to node 'rabbit@overcloud-controller-0': nodedown DIAGNOSTICS =========== attempted to contact: ['rabbit@overcloud-controller-0'] rabbit@overcloud-controller-0: * connected to epmd (port 4369) on overcloud-controller-0 * node rabbit@overcloud-controller-0 up, 'rabbit' application running current node details: - node name: 'rabbitmq-cli-31@overcloud-controller-0' - home dir: /var/lib/rabbitmq - cookie hash: PB31uPq3vzeQeZ+MHv+wgg== See - it reports that it failed to connect to node 'rabbit@overcloud-controller-0' (because it catches an exception from `alarms_by_node(Name)`), but attempt to connect to this node was successful ('rabbit' application running). In order to fix that we should not throw exception during consequent calls (`[alarms_by_node(Name) || Name <- nodes_in_cluster(Node)]`), only during the first one (`unsafe_rpc(Node, rabbit_mnesia, status, [])`). Even more - we don't need to change `nodes_in_cluster(Node)`, because it is called locally. The only function which must use `rabbit_misc:rpc_call/4` is `alarms_by_node(Name)` because it is executed remotely. See this issue for further details and real world example: * https://bugzilla.redhat.com/1356169 Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
* Update rabbitmq-components.mkrabbitmq_v3_6_4_rc1rabbitmq_v3_6_4_milestone2rabbitmq_v3_6_4_milestone1Michael Klishin2016-07-141-0/+1
|
* Merge pull request #873 from rabbitmq/rabbitmq-server-612Michael Klishin2016-07-144-12/+18
|\ | | | | Tune scheduling bind flags for Erlang VM
| * use the default_bind bind typeKarl Nilsson2016-07-142-2/+2
| |
| * remove stale commentKarl Nilsson2016-07-141-5/+1
| |
| * Set scheduler bindings in rabbitmq-env.bat for windowsKarl Nilsson2016-07-144-22/+19
| | | | | | | | rename SCHEDULING to SCHEDULER in line with erlang documentation
| * RenamingDiana Corbacho2016-07-133-9/+9
| |
| * Tune scheduling bind flags for Erlang VMDiana Corbacho2016-07-043-1/+14
| |
* | Merge branch 'binarin-rabbitmq-server-818' into stableMichael Klishin2016-07-143-21/+204
|\ \
| * | Run client helper tear down steps before broker'sMichael Klishin2016-07-141-2/+2
| | |
| * | Add `node_health_check` test suiteAlexey Lebedeff2016-07-141-0/+167
| | |
| * | Reuse timeout/error logic for `node_health_check`Alexey Lebedeff2016-07-141-14/+14
| | |
| * | Default timeouts: fix global/add per-commandAlexey Lebedeff2016-07-142-7/+23
|/ / | | | | | | | | | | | | | | | | | | | | - Global timeout `?RPC_TIMEOUT` was not used, because default value of infinity was always introduced via `?TIMEOUT_DEF`. Now `infinity` is used for commands without timeout support, and `?RPC_TIMEOUT` otherwise. - `?COMMANDS_WITH_TIMEOUT` now can contain per-command default values for timeout, using tuple `{Command, DefaultTimeoutInMilliSeconds}` instead of just `Command`.
* | Update rabbitmq-components.mkMichael Klishin2016-07-141-0/+1
| |
* | Merge branch 'binarin-rabbitmq-server-fix-join-cluster-when-already-member' ↵Michael Klishin2016-07-131-5/+20
|\ \ | | | | | | | | | into stable
| * | WordingMichael Klishin2016-07-131-1/+1
| | |
| * | Merge branch 'rabbitmq-server-fix-join-cluster-when-already-member' of ↵Michael Klishin2016-07-131-5/+20
| |\ \ |/ / / | | | | | | https://github.com/binarin/rabbitmq-server into binarin-rabbitmq-server-fix-join-cluster-when-already-member
| * | Report join_cluster errors more thoroughlyAlexey Lebedeff2016-06-301-5/+20
| | | | | | | | | | | | | | | | | | | | | | | | Because `{ok, _}` should mean OK, and `{error, _}` should be a real error. With the addition of https://github.com/rabbitmq/rabbitmq-common/pull/115 `rabbitmqctl join_cluster` will become consistent.
* | | Handle paths with spaces on disk volumes with 8.3 name creation disabledkjnilsson2016-07-121-2/+2
| | |
* | | Merge pull request #855 from rabbitmq/rabbitmq-server-839Michael Klishin2016-07-081-8/+32
|\ \ \ | | | | | | | | Use separate index to store dying clients file offsets
| * | | Be more lenient when deleting dying client entriesMichael Klishin2016-06-271-1/+1
| | | | | | | | | | | | | | | | | | | | If no entry was deleted, that's suspicious but it's certainly more important to keep queue process functional.
| * | | Merge branch 'stable' into rabbitmq-server-839Michael Klishin2016-06-262-1/+2
| |\ \ \
| * | | | Use separate index to store dying clients file offsetsDaniil Fedotov2016-06-211-8/+32
| | | | |
* | | | | Merge pull request #877 from rabbitmq/rabbitmq-management-244Michael Klishin2016-07-081-2/+1
|\ \ \ \ \ | | | | | | | | | | | | Use rabbit_misc to parse GC stats, supporting maps in R19
| * | | | | Use rabbit_misc to parse GC stats, supporting maps in R19Diana Corbacho2016-07-071-2/+1
|/ / / / /
* | | | | Commit Debian and RPM change logsMichael Klishin2016-07-062-0/+9
| | | | |
* | | | | Fix testsuite build on Erlang R16B03 by using macros for old builtin typesrabbitmq_v3_6_3Jean-Sébastien Pédron2016-07-051-4/+4
| | | | | | | | | | | | | | | | | | | | Those macros are provided by `old_builtin_types.hrl` in rabbitmq-common.
* | | | | Travis CI: Do not set CT_OPTS, it's handled by rabbitmq-build.mkJean-Sébastien Pédron2016-07-051-1/+1
| | | | |
* | | | | Use CT_OPTS from rabbitmq-build.mkJean-Sébastien Pédron2016-07-051-2/+0
| | | | |
* | | | | Travis CI: Turn off error_logger messagesJean-Sébastien Pédron2016-07-051-1/+1
| | | | | | | | | | | | | | | | | | | | Hopefully the testsuite should be quiet enough now.
* | | | | Travis CI: Test against Erlang 18.3 and 19.0Jean-Sébastien Pédron2016-07-051-1/+2
| | | | |
* | | | | Fix build on Erlang R16B03 by using macros for old builtin typesJean-Sébastien Pédron2016-07-057-19/+21
| | | | | | | | | | | | | | | | | | | | Those macros are provided by `old_builtin_types.hrl` in rabbitmq-common.
* | | | | These are moved to rabbit_ct_broker_helpersrabbitmq_v3_6_3_rc3Michael Klishin2016-07-031-4/+2
| | | | |
* | | | | {allow,block}_traffic_between/2 are moved to rabbit_ct_broker_helpersMichael Klishin2016-07-031-4/+2
| | | | |
* | | | | dist_proxy helpers moved to rabbit_ct_broker_helpersMichael Klishin2016-07-031-27/+6
| | | | |
* | | | | Travis CI: Use "if/then" instead of "cmd && cmd" for conditional stepsJean-Sébastien Pédron2016-07-011-2/+2
| | | | |
* | | | | Travis CI: Fix the `$GROUP` env. var. matrixJean-Sébastien Pédron2016-07-011-2/+2
| | | | |
* | | | | Travis CI: And fix another syntax error...Jean-Sébastien Pédron2016-07-011-1/+1
| | | | |
* | | | | Travis CI: Fix stupid syntax errorJean-Sébastien Pédron2016-07-011-1/+1
| | | | |
* | | | | Hardcode init-system-helpers dependency to be Ubuntu 14.04 (or later)-compatibleMichael Klishin2016-07-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now that systemd support is introduced, there is an issue with package dependencies between Ubuntu 14.04 and 16.04. We produce releases on Debian Wheezy which specifies init-system-hlpers 1.18 as a dependency. Unfortunately that version is not available on Ubuntu 14.04, only 1.14 is. So we primarily have 4 options for the short term: * Revert systemd support and upset 16.04 users * Drop 14.04 support and upset 14.04 users * Switch to Ubuntu 14.04 for producing Debian packages and hope it will work on Debian * Hardcode the dependency Options 3 and 4 seem to be the least of all evils. We will evaluate option 3 separately.