Michael Klishin
f6e8320fc9
Merge branch 'otp-24-ranch'
2021-03-10 07:37:51 +03:00
Michael Klishin
3c38b42226
STOMP: modernize Python test suite
...
* Upgrade to stomp.py 4.1.24 to gain Python 3.9 compatibility
* Adjust to modern client/plugin disconnection delay
* Remove tests that are not really possible to test with
a regular well-behaved client (missed heartbeats)
2021-03-10 07:35:34 +03:00
dcorbacho
e0d567828f
Update ranch supervisor structure on list/0 command
2021-03-09 23:17:03 +01:00
dcorbacho
d1c68ca8b9
Delete unused var
2021-03-09 16:49:33 +01:00
dcorbacho
9a0fe95e94
Update ranch supervisor structure on list/0 command
2021-03-09 16:08:46 +01:00
dcorbacho
fec1505c2e
Update ranch supervisor name
2021-03-09 11:40:01 +01:00
Michael Klishin
1fc6675a42
Make this test more agnostic to stacktrace shape
...
The point is that both channel and connection go down,
not that a particular tuple is thrown
2021-03-09 02:48:35 +03:00
Michael Klishin
848aba1a43
Merge pull request #2879 from rabbitmq/otp-24-crypto
...
Replace cryto:hmac/3 by crypto:mac/4
2021-03-09 02:33:29 +03:00
dcorbacho
7f14d2ae8d
Replace cryto:hmac/3 by crypto:mac/4
2021-03-08 23:44:08 +01:00
dcorbacho
61f7b2a723
Update to ranch 2.0
2021-03-08 23:11:05 +01:00
Gerhard Lazu
c18ad7a5b6
Fix colors for node names that include digits in Grafana dashboards
...
Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2021-03-08 13:19:14 +00:00
Michael Klishin
3eee3eecff
Cuttlefish 2.7.0 for Erlang 24 compatibility
2021-03-08 10:53:25 +01:00
Michael Klishin
34af2a784b
Merge pull request #2869 from rabbitmq/mk-remove-unused-federation-is-up
...
Remove two now unused functions
2021-03-05 07:19:11 +03:00
Michael Klishin
8f2e4edcdf
Remove two now unused functions
...
Follow-up to #2868
2021-03-05 07:17:06 +03:00
Michael Klishin
af50305d5d
Merge pull request #2860 from rabbitmq/cli-remote_shell
...
Add rabbitmq-diagnostics remote_shell
2021-03-05 05:59:31 +03:00
Michael Klishin
01360836c7
Merge pull request #2868 from rabbitmq/otp-24-federation
...
Remove federation_up/0 check
2021-03-05 02:53:57 +03:00
Michael Klishin
a310687478
Sync rabbitmq-components.mk
2021-03-05 02:52:23 +03:00
dcorbacho
b9836cc3b2
Remove federation_up/0 check
...
Decorators are only executed if the plugin is enabled (registered in
rabbit_queue_decorator), thus initialising the links through `startup`.
There is no obvious way for a fed link to start if the plugin isn't running,
so this check can be removed.
2021-03-04 21:53:43 +01:00
Michael Klishin
3755b5b03f
Merge pull request #2867 from rabbitmq/otp-24-federation
...
Await for links to start/fail to start on test suite
2021-03-04 19:43:16 +03:00
dcorbacho
00510fe84b
Await for links to start/fail to start on test suite
2021-03-04 17:36:03 +01:00
Michael Klishin
fd86959429
Revert "Make rabbit_log:log/2 return 'ok' unconditionally"
...
This reverts commit 01c4ca2aa9
.
2021-03-04 13:13:00 +03:00
Michael Klishin
01c4ca2aa9
Make rabbit_log:log/2 return 'ok' unconditionally
...
instead of relying on a Lager transform-driven return value.
This should avoid erlang/otp#4576 on Erlang 24.
Per discussion with @lhoguin.
2021-03-04 13:09:29 +03:00
Michael Klishin
8920f05a15
Revert "Squash one more Erlang 24 warning"
...
This reverts commit fb4f88e7dd
.
See erlang/otp#4576
2021-03-04 06:10:23 +03:00
Michael Klishin
fb4f88e7dd
Squash one more Erlang 24 warning
2021-03-04 05:38:38 +03:00
Michael Klishin
52a8750157
Merge pull request #2864 from rabbitmq/mk-lager-3-9-0
...
Upgrade Lager to 3.9 for OTP 24 compatibility
2021-03-04 05:34:45 +03:00
Michael Klishin
fab351134a
Drive-by: squash an Erlang 24-specific warning
...
(cherry picked from commit 3a169cc9df
)
2021-03-04 05:31:26 +03:00
Michael Klishin
3a169cc9df
Drive-by: squash an Erlang 24-specific warning
2021-03-04 04:41:20 +03:00
Michael Klishin
b6c4831e75
Bump Lager to 3.9.1
2021-03-04 04:36:39 +03:00
dcorbacho
ac43136653
Use scope on pg groups and skip `go` call from the app
...
`rabbit_federation_queue_link:go()` and the exchange equivalent are asynchronous (cast).
They are luckily executed after the links are started by the decorators, and probably
most of the time they find the links up and ready to `go`. However, this might not always
be the case. The retry introduced on the previous commit that is triggered by the link itself
once if finds that federation is down, guarantees that the `go` will be handled by the link
process. Thus, the calls to rabbit_federation_queue_link:go() and rabbit_federation_exchange_link:go()
can be removed from the app.
2021-03-04 04:06:41 +03:00
Michael Klishin
3a73dadb61
Retry if we could not start links because the plugin wasn't yet running
...
Per discussion with @dcorbacho.
2021-03-04 04:06:41 +03:00
Michael Klishin
be11d6087d
Synchronize federation_up/0 logic for both link types
2021-03-04 04:06:41 +03:00
Michael Klishin
ad47eba2fa
pg2 => pg for OTP 24 compatibility
...
there is still one failing queue federation test.
2021-03-04 04:06:40 +03:00
dcorbacho
82512ce206
Clean up rabbit_fifo_usage table on queue.delete
2021-03-04 04:06:40 +03:00
Michael Klishin
f6093d618d
Erlang client: drop some Erlang 19-specific code
2021-03-04 04:06:40 +03:00
Michael Klishin
ea41934d9c
Require Erlang/OTP 23 for RabbitMQ 3.9
2021-03-04 04:06:40 +03:00
Philip Kuryloski
b0d036e3b4
Remove Erlang 22 from GitHub Actions
2021-03-04 04:06:40 +03:00
Michael Klishin
793e76f661
Merge pull request #2859 from rabbitmq/mk-otp-24-compat-pg2-to-pg-migration
...
pg2 => pg for OTP 24 compatibility
2021-03-04 03:53:43 +03:00
dcorbacho
e01ea12097
Use scope on pg groups and skip `go` call from the app
...
`rabbit_federation_queue_link:go()` and the exchange equivalent are asynchronous (cast).
They are luckily executed after the links are started by the decorators, and probably
most of the time they find the links up and ready to `go`. However, this might not always
be the case. The retry introduced on the previous commit that is triggered by the link itself
once if finds that federation is down, guarantees that the `go` will be handled by the link
process. Thus, the calls to rabbit_federation_queue_link:go() and rabbit_federation_exchange_link:go()
can be removed from the app.
2021-03-03 22:45:26 +01:00
Michael Klishin
28db7f6fee
Retry if we could not start links because the plugin wasn't yet running
...
Per discussion with @dcorbacho.
2021-03-03 23:10:33 +03:00
Michael Klishin
f97f6eb1b3
Synchronize federation_up/0 logic for both link types
2021-03-03 22:45:09 +03:00
Michael Klishin
98724eff09
pg2 => pg for OTP 24 compatibility
...
there is still one failing queue federation test.
2021-03-03 19:01:12 +03:00
Michael Klishin
d77609bba4
Merge pull request #2846 from rabbitmq/cleanup-rabbit-fifo-usage
...
Clean up rabbit_fifo_usage table on queue.delete
2021-03-03 18:33:33 +03:00
Michael Klishin
d76234f0b1
Erlang client: drop some Erlang 19-specific code
2021-03-03 18:13:49 +03:00
Michael Klishin
48371a8859
Require Erlang/OTP 23 for RabbitMQ 3.9
2021-03-03 18:13:15 +03:00
Michael Klishin
0d29cbb116
Cosmetics
2021-03-03 17:17:59 +03:00
Philip Kuryloski
cd2b9577e2
Remove Erlang 22 from GitHub Actions
2021-03-03 13:53:36 +01:00
Loïc Hoguin
5c829ff599
Add rabbitmq-diagnostics remote_shell
2021-03-03 11:28:54 +01:00
Michael Klishin
3127a2f5d6
Remove an stdout log entry
2021-03-01 21:55:27 +03:00
Michael Klishin
4ab0c2e44f
Restore Erlang 22.3 compatibility for direct reply-to
2021-03-01 21:55:27 +03:00
Michal Kuratczyk
a0aa8139b1
Replace Async threads warning with Dirty I/O
...
Async threads are basically not used these days.
Dirty I/O schedulers, on the other hand, are used a lot.
2021-03-01 21:55:27 +03:00