Commit Graph

49842 Commits

Author SHA1 Message Date
Johan Rhodin 998d2aeea3
Match help box to correct item
before it was right after Auto expire
2021-12-01 14:01:19 -06:00
Arnaud Cogoluègnes 17d0ba9317
Return "no offset" (19) code when stored offset is undefined
Fixes #3783
2021-12-01 17:59:14 +01:00
Michael Klishin 0cc50c73a9
Merge pull request #3822 from rabbitmq/3.9.11-release-notes
Initial 3.9.11 release notes
2021-12-01 19:53:40 +03:00
Michael Klishin ce995c76d9
Initial 3.9.11 release notes 2021-12-01 19:52:05 +03:00
Michael Klishin d95eb3b87d
Merge pull request #3820 from rabbitmq/lukebakken/fix-flaky-gh-3729-test
Remove flaky assertion
2021-12-01 18:53:34 +03:00
Luke Bakken 9ff201c3ab
Remove flaky assertion
Thanks @kjnilsson
2021-12-01 06:57:25 -08:00
Michael Klishin b5aecbd3e5
Merge pull request #3804 from rabbitmq/qq-clean-properties-before-storage
QQ: remove decoded properties before storing messages
2021-12-01 17:00:58 +03:00
Michael Klishin 3be3569fd7
Merge pull request #3814 from rabbitmq/stream-declare-size
Query total number of messages on stream leader on queue.declare
2021-11-30 19:53:25 +03:00
Michael Klishin 6a3a9ecc95
Merge pull request #3816 from rabbitmq/mergify/bp/master/pr-3815
Introduce a new CLI tool (scope), rabbitmq-tanzu (backport #3815)
2021-11-30 18:12:30 +03:00
Michael Klishin be525c2ebe
Compile from scratch 2021-11-30 18:11:17 +03:00
Michael Klishin f7d32d69f8 Introduce a new CLI tool (scope), rabbitmq-tanzu
For Tanzu (commercial) plugins to attach their commands to instead of
polluting rabbitmqctl.

Pair: @pjk25
(cherry picked from commit 6e0f2436fa)
2021-11-30 14:54:09 +00:00
dcorbacho 5e9664f9e7 Query total number of messages on stream leader on queue.declare 2021-11-30 15:09:30 +01:00
Michael Klishin 051e504f8e
Merge pull request #3805 from tomyouyou/deativate_limit_of_qpid
To deactivate limit of all QPids when the limiter has been changed from 'limit' to 'unlimit'.
2021-11-30 15:22:18 +03:00
Michael Klishin c9109e0dc1
Merge pull request #3806 from rabbitmq/rabbitmq-server-3803
tcp_listener: avoid logging listener arguments on shutdown
2021-11-29 19:33:13 +03:00
Michael Klishin 9e351c50e9
Log message wording 2021-11-29 18:24:19 +03:00
Michael Klishin 75767faf3c
Simplify tcp_listener argument obfuscation
Per suggestions from @lhoguin
2021-11-29 15:01:53 +03:00
Philip Kuryloski 67ad541515 Add a bazel rule for generating erlang_ls.config
If you are using bazel, you can switch to this with:
1. `bazelisk build //tools:erlang_ls.config`
2. `cp bazel-bin/tools/erlang_ls.config erlang_ls.config`
2021-11-29 12:58:02 +01:00
Philip Kuryloski 83126f1285
Merge pull request #3781 from rabbitmq/bump-bazel-erlang
Adopt latest bazel-erlang
2021-11-29 00:27:23 -08:00
Michael Klishin 53eb1edf19
tcp_listener: only set credential obfuscation secret if necessary 2021-11-28 21:49:59 +03:00
Michael Klishin 71d6366069
tcp_listener: avoid logging listener arguments on shutdown
Closes #3803
2021-11-28 17:11:35 +03:00
tomyouyou 50160a0232
To deactivate limit of all QPids when the limiter has been changed from 'limit' to 'unlimit'.
Otherwise, the QPids will still to ask limiter whether it can be sent before delivering.
This will degrade performance, especially when the limiter and QPid are on different nodes.

When 'can_send' is deactivated, the test results are as follows:
id: test-100147-150, time: 400.016s, sent: 17654 msg/s, returned: 0 msg/s, confirmed: 17658 msg/s, nacked: 0 msg/s, received: 17663 msg/s, min/median/75th/95th/99th consumer latency: 1775/5899/6486/7369/8440 μs, confirm latency: 2171/5581/6127/7026/7911 μs
test stopped (Reached time limit)
id: test-100147-150, sending rate avg: 17630 msg/s
id: test-100147-150, receiving rate avg: 17630 msg/s

When limiter and QPid are on the same node and 'can_send' is activated, the test results are as follows:
id: test-095229-474, time: 400.015s, sent: 13246 msg/s, returned: 0 msg/s, confirmed: 13247 msg/s, nacked: 0 msg/s, received: 13245 msg/s, min/median/75th/95th/99th consumer latency: 3777/7316/8345/10447/11392 μs, confirm latency: 4074/7308/8257/10336/11341 μs
test stopped (Reached time limit)
id: test-095229-474, sending rate avg: 13317 msg/s
id: test-095229-474, receiving rate avg: 13317 msg/s

we have seen, for the message rate, the test showed a 24% drop.
2021-11-27 20:30:04 +08:00
GitHub b4ad7a84a2 Adopt latest bazel-erlang
- bazel-erlang@050faedb2a3422a60d6b98678c714ed1a61ec71d
2021-11-27 03:01:48 +00:00
Luke Bakken f10e9c3d0e
Update rabbit_quorum_queue.erl
Very small spelling change
2021-11-26 12:12:51 -08:00
Karl Nilsson 92ed64eb22 QQ: remove decoded properties before storing messages
We're also typically storing the encoded properties as well.
We only really need one. e.g. an enqueue command with a 2 byte payload
serialises to 290 bytes compared to 463. A nice saving.
2021-11-26 16:33:59 +00:00
David Ansari 45f69f8829 Add missing Ra commands to the log
Before this commit, the tests were not including any settle, return, or
discard Ra commands.

Do not pattern match against 'ra_event' because nowadays:
_Opts = [local, ra_event]
2021-11-26 16:16:45 +01:00
Michael Klishin eb5a5f654e
Merge pull request #3800 from tomyouyou/stop_stats
To stop collect_statistics when rabbitmq_management_agent has been disabled
2021-11-25 18:41:09 +03:00
Michael Klishin d8a4d4cc4f
Merge pull request #3746 from rabbitmq/lukebakken/gh-3729
Fix case where quorum queue consumer is cancelled while message is about to be delivered
2021-11-25 15:14:42 +03:00
tomyouyou 0e640da5a1
To stop collect_statistics when rabbitmq_management has been disabled.
After stopping the 'rabbitmq_management', these statistics tables are still being refreshed.
2021-11-25 17:37:58 +08:00
Michael Klishin ce497a5b52
Merge pull request #3798 from wrobell/rabbitmq-streams-doc-protocol-timestamp
Link to most recent description of Osiris chunk format
2021-11-24 21:48:07 +03:00
wrobell 07dc62af7c Link to most recent description of Osiris chunk format
The most recent description of Osiris chunk format does not reference
the timestamp field to be "posix-ish" anymore. This was bit misleading
as it is Erlang's system time.

Add link to Erlang system time documentation to the subscription command
description to avoid confusion about the timestamp field.
2021-11-24 18:34:55 +00:00
Michael Klishin a20a0f14f8
Merge pull request #3779 from rabbitmq/vhost-exchange-count
Add optional metrics for vhost and exchange count
2021-11-24 21:08:36 +03:00
Alexey Lebedeff 7676ed9685 Use `rabbitmq_cluster_` prefix for cluster-wide metrics 2021-11-24 16:49:43 +01:00
Michael Klishin 4f09fd109c
quorum_queue_SUITE: bump some timeouts 2021-11-24 18:04:35 +03:00
Michael Klishin 6a08e143e9
quorum_queue_SUITE: drop a debug line 2021-11-24 16:47:20 +03:00
Michael Klishin 38d64a54b1
Wording 2021-11-24 14:19:57 +03:00
Michael Klishin a1c0cd3785
Wording 2021-11-24 14:02:10 +03:00
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
Luke Bakken 6d545447b9
Fix quorum queue crash during consumer cancel with return
Fixes #3729
2021-11-23 08:59:47 -08: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