Commit Graph

49655 Commits

Author SHA1 Message Date
Alexey Lebedeff 6e3012aaf9 Add optional metrics for vhost and exchange count
These can make sense in some scenarios, e.g. when vhost/exchanges are
+created using self-service automation
2021-11-24 11:00:41 +01:00
Michael Klishin e22e667a10
Do not count unroutable message in global totals 2021-11-23 16:37:46 +03:00
Michael Klishin 0f0da778d0
Merge pull request #3708 from rabbitmq/filter-out-queues-from-global-stats
Use a pattern to filter out some queues from global stats
2021-11-23 15:01:40 +03:00
Luke Bakken bd2858c208
Compile the regex 2021-11-22 08:30:17 -08:00
Michael Klishin 2483711505
Merge pull request #3770 from easyteacher/systemd-hardening
Add systemd hardening parameters in rabbitmq-server.service.example
2021-11-19 20:09:38 +03:00
Michael Klishin bc3cc6a881
3.9.10 release notes wording 2021-11-19 17:34:40 +03:00
Fushan Wen 23d5073dcb Add systemd hardening parameters in rabbitmq-server.service.example
systemd offers various options to harden services. To see details please
visit https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
2021-11-19 19:06:21 +08:00
Philip Kuryloski c116fb9e02
Merge pull request #3734 from rabbitmq/bump-rbe-24
Adopt latest rabbitmq-server-buildenv:linux-erlang-24.1 for RBE
2021-11-19 01:13:34 -08:00
Philip Kuryloski ea29eb4241
Merge pull request #3733 from rabbitmq/bump-rbe-23
Adopt latest rabbitmq-server-buildenv:linux-erlang-23.3 for RBE
2021-11-19 01:13:10 -08:00
GitHub cd2f6953c8 Use latest rbe-erlang-platform/linux-erlang-24.1
for remote build execution (RBE) with BuildBuddy
2021-11-19 03:04:14 +00:00
GitHub f0ef661411 Use latest rbe-erlang-platform/linux-erlang-23.3
for remote build execution (RBE) with BuildBuddy
2021-11-19 03:03:36 +00:00
Michael Klishin 262063edc7
Update 3.9.10 release notes 2021-11-19 01:31:29 +03:00
Philip Kuryloski da53d4018a Remove incorrect comment 2021-11-18 21:36:48 +01:00
Philip Kuryloski f3ef80130d
Merge pull request #3763 from rabbitmq/pjk25/bazel-package-generic-unix
Add the bazel target :package-generic-unix
2021-11-18 12:34:42 -08:00
Philip Kuryloski 11fd866247 Add the bazel target :package-generic-unix
Which can be used to build the artifact with bazel
2021-11-18 14:38:41 +01:00
Philip Kuryloski eaa1370dc8
Merge pull request #3755 from rabbitmq/bump-bazel-erlang
Adopt latest bazel-erlang
2021-11-18 05:35:02 -08:00
Michael Klishin 665d100e39
Merge pull request #3752 from rabbitmq/stream-flakes
Stream flake fixes
2021-11-18 15:37:56 +03:00
Michael Klishin b9c7aa8709
Resolve 3.8 release note conflicts 2021-11-18 15:34:20 +03:00
Michael Klishin 7d497d5bb4
3.8.26 release notes
(cherry picked from commit 77d8b6a9e8)
2021-11-18 15:32:50 +03:00
Michael Klishin 5d91e958c2
Initial 3.8.25 release notes 2021-11-18 15:29:49 +03:00
Michael Klishin bd67a5af7b
Merge pull request #3759 from rabbitmq/oauth2-config-fix
Fix rabbitmq.conf translation rule for OAuth2 signing keys
2021-11-18 15:13:30 +03:00
Michal Kuratczyk acf474e056 Fix cuttlefish config for oauth2
The structure of the signing_keys map should be `<<"id">> => {pem, <<"key">>}`.
Previously it was mapped directly as `<<"id">> => <<"key">>`.
2021-11-18 12:58:57 +01:00
GitHub e11b344288 Adopt latest bazel-erlang
- bazel-erlang@5bf79d7fb9a2c8bf7bfb6a90f5104a10b5c9107b
2021-11-18 03:01:44 +00:00
Karl Nilsson 8542b54f7e Stream coordinator: only initialise queue record if stream id matches 2021-11-17 16:16:37 +00:00
Philip Kuryloski 5d579d1447 Fixup update-rbe-images workflow 2021-11-17 15:11:51 +01:00
Michael Klishin 6111029ceb
Initial 3.9.10 release notes 2021-11-17 12:06:33 +03:00
Karl Nilsson 3b62665b34 Stream coordinator: log member deletions 2021-11-17 09:04:35 +00:00
Philip Kuryloski e52a127ef9 Apply changes from #3748 to remaining workflows 2021-11-17 09:53:39 +01:00
Philip Kuryloski 4f05a58f3d
Merge pull request #3748 from siggisim/fix-keepalives
Further tweaks to GitHub Actions networking keep-alive
2021-11-17 00:03:17 -08:00
Siggi Simonarson ca129c87cf Further keepalive networking tweaks 2021-11-16 18:39:48 -08:00
dcorbacho a7c9b66653 Use own key to exclude queues 2021-11-16 16:53:17 +01:00
Luke Bakken 6aaf7ec597
Merge pull request #3740 from rabbitmq/rabbitmq-server-3739
Distribution listener settings support in rabbitmq.conf
2021-11-16 06:36:48 -08:00
Philip Kuryloski ae45ab54a5
Merge pull request #3738 from rabbitmq/cleanup-symlink-private-log-message
Fixup the "Failed to symlink private_log directory." error in bazel
2021-11-16 06:12:22 -08:00
Michael Klishin f47de00910
Merge pull request #3731 from rabbitmq/stream-mnesia-update
Stream coordinator: only update amqqueue record if stream id matches
2021-11-16 16:53:54 +03:00
Michael Klishin 8a30cf1c86
Distribution listener settings support in rabbitmq.conf
* distribution.listener.interface
 * distribution.listener.port_range.min
 * distribution.listener.port_range.max

Closes #3739
2021-11-16 16:37:28 +03:00
Karl Nilsson bc7b339e7a Stream coordinator: only update amqqueue record if stream id matches
From the coordinator's POV each stream has a unique id consisting of the
vhost, queuename and a high resolution timestamp even if several stream ids
relate to the same queue record.

When performing the mnesia update the coordinator now checks that the current stream id
matches that of the update_mnesia action and does not change the queue record if
the stream id is not the same.

This should avoid "old" incarnations of a stream queue updating newer ones
with incorrect information.
2021-11-16 12:32:33 +00:00
Philip Kuryloski 3b48ebabf7 Fixup the "Failed to symlink private_log directory." error in bazel
While it doesn't cause any tests to fail, it's confusing to see it in
the logs
2021-11-16 13:25:53 +01:00
Philip Kuryloski e5a4907a60 Update exchange_SUITE timeouts
When the suite passes, it's about 120 seconds total, so 5 minutes per
case seems to be too much. Additionally, if the suite times out at the
bazel level, we get no logs, so the cause of the timeout is unclear.
2021-11-16 12:03:20 +01:00
dcorbacho 242cb539b3 Exclude queues from aggregated metrics in prometheus collector
Uses same exclusion pattern as the management agent
2021-11-16 10:23:39 +01:00
Philip Kuryloski fb251abdb2
Merge pull request #3735 from rabbitmq/use-remote-download-minimal
Use --remote_download_minimal and Actions Cache
2021-11-16 00:56:52 -08:00
Philip Kuryloski 470c94692c Use the GitHub Actions Cache in conjuction with buildbuddy 2021-11-16 09:45:29 +01:00
Philip Kuryloski 74ae98473e Use ubuntu-latest for all github actions workflows 2021-11-16 09:39:35 +01:00
Philip Kuryloski 943949d509 Use --remote_download_minimal try see if that helps with GH Actions 2021-11-16 09:39:11 +01:00
Luke Bakken 939673b31d
Merge pull request #3685 from rabbitmq/lukebakken/core-started-before-postlaunch-phase
Set core_started before running postlaunch phase
2021-11-15 07:04:25 -08:00
dcorbacho e299178471 Store collector pattern in process memory
Avoids multiple calls to `application:get_env` which can be very expensive.
Also limits filter to vhost_msg_stats, as queue_msg_stats are required for
individual queue metrics
2021-11-15 11:53:50 +01:00
Philip Kuryloski 1f7db0fa35 Update rabbit_ct_broker_helpers:force_vhost_failure/4 for erpc
https://www.erlang.org/doc/man/erpc.html#call-5
2021-11-15 10:53:10 +01:00
Philip Kuryloski d3dcc782f2
Merge pull request #3722 from rabbitmq/use-bazel-toolchains-v2
Use externailzed rbe config in bazel
2021-11-15 00:19:43 -08:00
Philip Kuryloski df0fa0ce60 Use externailzed rbe config in bazel 2021-11-15 09:12:23 +01:00
Michael Klishin 01f68b80c9
Merge pull request #3723 from wrobell/rabbitmq-streams-doc-protocol-deliver-fix
Fix description of "deliver" command in RabbitMQ Streams protocol documentation
2021-11-14 21:59:12 +03:00
wrobell b4f39031f6 Fix description of "deliver" command in RabbitMQ Streams protocol documentation
Add missing fields - chunk type, timestamp, trailer length and reserved.
The fields are added after looking at

    3fd348d225/src/main/java/com/rabbitmq/stream/impl/ServerFrameHandler.java (L267)
    https://github.com/qweeze/rstream/blob/master/rstream/schema.py#L376

Change type of "version" field - it shall be uint16 like in other
commands.
2021-11-14 14:51:35 +00:00