summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update rabbitmq-components.mkLuke Bakken2020-07-291-9/+9
|
* Merge pull request #2398 from rabbitmq/salvage-1Philip Kuryloski2020-07-272-23/+39
|\ | | | | Expose some message index related functions for salvage tool
| * Expose some message index related functions for salvage toolPhilip Kuryloski2020-07-022-23/+39
| | | | | | | | | | `rabbit_msg_store:scan_file_for_valid_messages/1` `rabbit_queue_index:scan_queue_segments/4`
* | Merge pull request #2417 from rabbitmq/mark-node-as-ready-after-it-isJean-Sébastien Pédron2020-07-244-205/+211
|\ \ | | | | | | Mark node as ready after it actually is
| * | GitHub Actions: Switch from Erlang 22.3 to 23.0Jean-Sébastien Pédron2020-07-241-182/+182
| | |
| * | GitHub Actions: Terminate 30-CT_SUITE.yaml with a newlineJean-Sébastien Pédron2020-07-241-1/+1
| | | | | | | | | | | | This fixes the concatenation of all jobs.
| * | rabbit_networking: Re-enable Dialyzer in this fileJean-Sébastien Pédron2020-07-241-8/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The function spec of `erl_epmd:port_please/3` was fixed in Erlang 23. we can re-enable Dialyzer in this file. This was mandatory anyway, otherwise disabling Dialyzer for this one triggered the following warning in rabbit:do_run_postlaunch_phase/0: rabbit.erl:1059: Function log_broker_started/1 will never be called That's because the pattern matching we did on the return value of `erl_epmd:port_please/{2,3}` was considered incorrect by Dialyzer, causing a possible crash. The crash would happen before `log_broker_started/1` would be called, which meant `log_broker_started/1` would be dead code.
| * | rabbit: Move critical code back to before we mark the node as readyJean-Sébastien Pédron2020-07-241-14/+19
|/ / | | | | | | | | | | | | | | `rabbit_networking:boot()` and the maintenance mode preparation was moved or added after we marked the node as ready. Therefore, functions such as `rabbit:is_running()` were lying. This led to bugs such as "rabbitmqctl wait" tu return too early, or testcases starting to run before the node was started and thus failing.
* | 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
| | |