summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* maintenance_mode_SUITE, queue_master_location_SUITE: Enable ↵Jean-Sébastien Pédron2020-07-232-25/+52
| | | | | | | | | | `maintenance_mode_status` feature flag This is a prerequisite for the testsuites to work. The second benefit is that if the feature flag is unavailable (say, in mixed-version testing), the testcases will be skipped. While here, remove all trailing whitespaces.
* rabbit_prelaunch_errors, rabbit_core_ff: Fix style consistencyJean-Sébastien Pédron2020-07-232-17/+22
|
* GitHub Actions: Regen workflowsMichael Klishin2020-07-222-358/+358
|
* GitHub Actions: Regen workflowsMichael Klishin2020-07-222-722/+708
|
* rabbitmq-diagnostics node_health_check is deprecated, remove its test suiteMichael Klishin2020-07-221-190/+0
| | | | it is timing-sensitive
* GitHub Actions: Regen workflowsJean-Sébastien Pédron2020-07-222-362/+552
| | | | | | | | * Use the latest 3.7.x release candidate during mixed-version testing because no releases contain the latest fixes to the feature flags helpers yet. * Restore Elixir version to the oldest we support (also the compiler in recent versions of Elixir fails frequently, at least in Concourse).
* rabbit_prelaunch_conf: Integrate application load error to existing messageJean-Sébastien Pédron2020-07-221-5/+4
| | | | | This fixes the layout of the logged list and the style of the source file.
* Update erlang.mkdcorbacho2020-07-211-1/+2
|
* Update rabbitmq-components.mkJean-Sébastien Pédron2020-07-211-1/+1
|
* Update rabbitmq-components.mkMichael Klishin2020-07-211-2/+2
|
* rabbit_prelaunch_conf: log application loading failuresMichael Klishin2020-07-211-1/+3
|
* Revert drop of Exhibit B on MPL 2.0dcorbacho2020-07-201-2/+8
|
* Merge pull request #2415 from GitHubPang/master-fix-typoMichael Klishin2020-07-201-1/+1
|\ | | | | Corrected a typo in man page of rabbitmqctl.8.
| * Corrected a typo.GitHubPang2020-07-201-1/+1
|/
* A typoMichael Klishin2020-07-171-1/+1
|
* Improve a couple of error messagesMichael Klishin2020-07-171-3/+3
|
* Update MPL2 license file, drop Exhibit BMichael Klishin2020-07-171-8/+2
| | | | | | | | | and add a VMware copyright notice. We did not mean to make this code Incompatible with Secondary Licenses as defined in [1]. 1. https://www.mozilla.org/en-US/MPL/2.0/FAQ/
* Merge pull request #2413 from rabbitmq/rabbitmq-server-2349-2Michael Klishin2020-07-161-1/+1
|\ | | | | Catch case where feature flag is not enabled
| * Catch case where feature flag is not enabledLuke Bakken2020-07-151-1/+1
|/ | | | | | Follow-up to #2349 Part of #2321
* Merge pull request #2349 from rabbitmq/rabbitmq-server-2321D Corbacho2020-07-1416-84/+887
|\ | | | | Node drain (maintenance mode) operations
| * Correct two minor issues discovered by DialyzerMichael Klishin2020-07-142-11/+9
| |
| * Sync license headers with MPL2 in masterMichael Klishin2020-07-142-25/+7
| |
| * Hide maintenance mode behind a feature flagMichael Klishin2020-07-146-49/+120
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Otherwise we'd lose mixed version cluster compatibility. We cannot pre-create a table since it will be checked for existence on cluster peers. We cannot use an upgrade function since it assumes a cluster-wide restart. A feature flag avoids as many headaches as possible and when flags are detected to be compatible on node start, they are all enabled automatically. References #2321.
| * Extract rabbit_networking:stop_ranch_listener_of_protocol/1Michael Klishin2020-07-141-1/+11
| | | | | | | | Part of rabbitmq/rabbitmq-server#2321
| * Be more defensive when computing Ranch ref from protocol nameMichael Klishin2020-07-141-2/+4
| | | | | | | | Part of rabbitmq/rabbitmq-server#2321
| * Report node maintenance status in 'rabbitmq-diagnostics status'Michael Klishin2020-07-142-36/+55
| | | | | | | | Part of rabbitmq/rabbitmq-server#2321
| * Make sure MQTT plugin closes its connections when a node is put into ↵Michael Klishin2020-07-141-0/+12
| | | | | | | | | | | | maintenance mode Part of rabbitmq/rabbitmq-server#2321
| * More integration tests for maintenance modeMichael Klishin2020-07-141-2/+34
| | | | | | | | References #2321
| * More integration tests for maintenance modeMichael Klishin2020-07-141-1/+49
| | | | | | | | References #2321
| * Initial integration tests for maintenance modeMichael Klishin2020-07-142-0/+158
| |
| * Correctly compute local QQ replica/Ra server name when revivingMichael Klishin2020-07-141-6/+8
| | | | | | | | | | | | Part of rabbitmq/rabbitmq-server#2312 Pair: @kjnilsson
| * DittoMichael Klishin2020-07-141-1/+1
| |
| * Strip some trailing whitespaceMichael Klishin2020-07-141-1/+1
| |
| * Node entering maintenance will shut down its local quorum queue replicasMichael Klishin2020-07-142-10/+56
| | | | | | | | | | | | and restart them upon revival. Part of rabbitmq/rabbitmq-server#2321
| * More logging for revival operationsMichael Klishin2020-07-141-0/+3
| |
| * Unify Ranch ref construction for all listenersMichael Klishin2020-07-141-1/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes the refs predictable and easy to compute from a listener record. Then suspending all listeners becomes a lot simpler. While at it, make protocol applications clean up their listeners when they stop. This way tests and other callers that have to stop the app would not need to know anything about its listeners. Part of rabbitmq/rabbitmq-server#2321
| * Maintenance mode: transfer leadership (primary replicas) of local CMQsMichael Klishin2020-07-142-10/+68
| | | | | | | | Part of rabbitmq/rabbitmq#2321
| * Introduce rabbit_maintenance:{drain,revive}/0Michael Klishin2020-07-143-13/+65
| | | | | | | | Part of #2321.
| * TyposMichael Klishin2020-07-141-2/+3
| |
| * Integrate node maintenance information into queue master locatorsMichael Klishin2020-07-147-27/+130
| | | | | | | | | | | | | | | | | | | | For cases where no node is eligible we use the local node. This should only be possible during a brief window of time before a node that's been drained drops its connections. However, be benign and optimistically let the queue operation proceed. Part of rabbitmq/rabbitmq-server#2321
| * Initial API bits for marking a node as being drained (or not)Michael Klishin2020-07-144-17/+68
| | | | | | | | Part of #2321.
| * Add a table for tracking node maintenance/draining stateMichael Klishin2020-07-142-1/+20
| |
| * rabbit_maintenance: simplify return values of listener suspension functionsMichael Klishin2020-07-141-16/+27
| |
| * Introduce rabbit_maintenance:{suspend,resume}_all_client_listeners/2Michael Klishin2020-07-141-6/+33
| | | | | | | | References #2321
| * Extract a function that computes Ranch listener referencesMichael Klishin2020-07-142-8/+17
| |
| * tcp_listener_sup: use maps for supervisor flags and child specMichael Klishin2020-07-142-13/+18
| |
| * Introduce rabbit_networking:node_client_listeners/1Michael Klishin2020-07-142-1/+56
|/
* Merge pull request #2406 from rabbitmq/rabbitmq-server-2405Michael Klishin2020-07-122-3/+12
|\ | | | | Move networking boot step to end of startup
| * Log a message when listeners are about to be startedMichael Klishin2020-07-122-0/+2
| |
| * Move networking boot step to end of startupLuke Bakken2020-07-091-3/+10
| | | | | | | | | | | | | | This allows plugins to configure network listener settings and have those settings apply to all listeners when started. Fixes #2405