summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Optimisation for 'delegate'rabbitmq-server-2571Philip Kuryloski2021-12-061-6/+61
| | | | | | This is a manual rebase of rabbitmq-common #349 https://github.com/rabbitmq/rabbitmq-common/pull/349/commits/1c09c0f824cf2eca9284035db3f079465edb5733
* Merge pull request #3838 from rabbitmq/lukebakken/allow-compress-on-rotateMichael Klishin2021-12-032-0/+9
|\ | | | | Add compress option for file rotation
| * Add compress option for file rotationlukebakken/allow-compress-on-rotateLuke Bakken2021-12-022-0/+9
| | | | | | | | | | | | Related to #3835 https://www.erlang.org/doc/man/logger_std_h.html
* | Merge pull request #3835 from rabbitmq/rabbitmq-server-3831Michael Klishin2021-12-032-52/+168
|\ \ | | | | | | Extend log.file.rotation.date parser
| * | Log rotation date spec: parse $H the same way Lager doesMichael Klishin2021-12-032-6/+6
| | |
| * | rabbit_logger_std_h: make Dialyzer runrabbitmq-server-3831Michael Klishin2021-12-021-3/+0
| | |
| * | More log rotation date spec parser improvementsMichael Klishin2021-12-022-2/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Note that Lager itself doesn't handle certain combinations: * $W0H45 is fine * $W0D1H45 fails with an error but hopefully what we have now should be enough for a minimalistic built-in log rotation feature.
| * | Extend log.file.rotation.date parserMichael Klishin2021-12-022-52/+135
| | | | | | | | | | | | | | | | | | to successfully parse all cases presented in Lager docs. References #3831
* | | Merge pull request #3842 from ↵Arnaud Cogoluègnes2021-12-031-50/+79
|\ \ \ | | | | | | | | | | | | | | | | rabbitmq/rabbitmq-server-3841-stream-consumer-nested-record Create configuration nested record in stream consumer record
| * | | Declare variable for better formattingrabbitmq-server-3841-stream-consumer-nested-recordArnaud Cogoluègnes2021-12-031-18/+13
| | | | | | | | | | | | | | | | References #3841
| * | | Create configuration nested record in stream consumer recordArnaud Cogoluègnes2021-12-032-54/+87
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Only a couple of fields of the stream consumer record change very frequently (credits and Osiris log reference), so this commit introduces a nested record in the main consumer record that contains the immutable fields. This potentially avoids producing a lot of garbage, especially when the consumer state contains several properties (consumer name, or single active consumer information in the future). Fixes #3841
* | | Merge pull request #3824 from ↵Arnaud Cogoluègnes2021-12-035-13/+16
|\ \ \ | |/ / |/| | | | | | | | rabbitmq/rabbitmq-server-3783-response-code-for-undefined-stored-offset Return "no offset" (19) code when stored offset is undefined
| * | Return "no offset" (19) code when stored offset is undefinedrabbitmq-server-3783-response-code-for-undefined-stored-offsetArnaud Cogoluègnes2021-12-015-13/+16
| | | | | | | | | | | | Fixes #3783
* | | Update 3.9.11 release notesMichael Klishin2021-12-021-3/+3
| |/ |/|
* | Update 3.9.11 release notesMichael Klishin2021-12-021-0/+11
| |
* | Merge pull request #3825 from johanrhodin/patch-3Michael Klishin2021-12-011-3/+2
|\ \ | | | | | | Match help box to correct item
| * | Match help box to correct itemJohan Rhodin2021-12-011-3/+2
|/ / | | | | before it was right after Auto expire
* | Merge pull request #3822 from rabbitmq/3.9.11-release-notesMichael Klishin2021-12-012-1/+75
|\ \ | | | | | | Initial 3.9.11 release notes
| * | Initial 3.9.11 release notesMichael Klishin2021-12-012-1/+75
|/ /
* | Merge pull request #3820 from rabbitmq/lukebakken/fix-flaky-gh-3729-testMichael Klishin2021-12-011-3/+2
|\ \ | |/ |/| Remove flaky assertion
| * Remove flaky assertionLuke Bakken2021-12-011-3/+2
|/ | | | Thanks @kjnilsson
* Merge pull request #3804 from rabbitmq/qq-clean-properties-before-storageMichael Klishin2021-12-011-1/+20
|\ | | | | QQ: remove decoded properties before storing messages
| * Update rabbit_quorum_queue.erlqq-clean-properties-before-storageLuke Bakken2021-11-261-1/+1
| | | | | | Very small spelling change
| * QQ: remove decoded properties before storing messagesKarl Nilsson2021-11-261-1/+20
| | | | | | | | | | | | 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.
* | Merge pull request #3814 from rabbitmq/stream-declare-sizeMichael Klishin2021-11-302-2/+43
|\ \ | | | | | | Query total number of messages on stream leader on queue.declare
| * | Compile from scratchMichael Klishin2021-11-301-1/+0
| | |
| * | Query total number of messages on stream leader on queue.declarestream-declare-sizedcorbacho2021-11-302-2/+44
| | |
* | | Merge pull request #3816 from rabbitmq/mergify/bp/master/pr-3815Michael Klishin2021-11-3021-35/+120
|\ \ \ | | | | | | | | Introduce a new CLI tool (scope), rabbitmq-tanzu (backport #3815)
| * | | Introduce a new CLI tool (scope), rabbitmq-tanzuMichael Klishin2021-11-3021-35/+120
|/ / / | | | | | | | | | | | | | | | | | | | | | For Tanzu (commercial) plugins to attach their commands to instead of polluting rabbitmqctl. Pair: @pjk25 (cherry picked from commit 6e0f2436faf86c0233af8b75125f9754a33fec77)
* | | Merge pull request #3805 from tomyouyou/deativate_limit_of_qpidMichael Klishin2021-11-304-0/+32
|\ \ \ | |/ / |/| | To deactivate limit of all QPids when the limiter has been changed from 'limit' to 'unlimit'.
| * | To deactivate limit of all QPids when the limiter has been changed from ↵tomyouyou2021-11-274-0/+32
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | '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.
* | Merge pull request #3806 from rabbitmq/rabbitmq-server-3803Michael Klishin2021-11-291-6/+25
|\ \ | | | | | | tcp_listener: avoid logging listener arguments on shutdown
| * | Log message wordingMichael Klishin2021-11-291-1/+1
| | |
| * | Simplify tcp_listener argument obfuscationrabbitmq-server-3803Michael Klishin2021-11-291-28/+11
| | | | | | | | | | | | Per suggestions from @lhoguin
| * | tcp_listener: only set credential obfuscation secret if necessaryMichael Klishin2021-11-281-2/+7
| | |
| * | tcp_listener: avoid logging listener arguments on shutdownMichael Klishin2021-11-281-5/+36
| | | | | | | | | | | | Closes #3803
* | | Add a bazel rule for generating erlang_ls.configPhilip Kuryloski2021-11-292-0/+40
| | | | | | | | | | | | | | | | | | 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`
* | | Merge pull request #3781 from rabbitmq/bump-bazel-erlangPhilip Kuryloski2021-11-291-1/+1
|\ \ \ | |_|/ |/| | Adopt latest bazel-erlang
| * | Adopt latest bazel-erlangGitHub2021-11-271-1/+1
|/ / | | | | | | - bazel-erlang@050faedb2a3422a60d6b98678c714ed1a61ec71d
* | Add missing Ra commands to the logDavid Ansari2021-11-261-3/+3
|/ | | | | | | | 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]
* Merge pull request #3800 from tomyouyou/stop_statsMichael Klishin2021-11-251-0/+8
|\ | | | | To stop collect_statistics when rabbitmq_management_agent has been disabled
| * To stop collect_statistics when rabbitmq_management has been disabled.tomyouyou2021-11-251-0/+8
| | | | | | After stopping the 'rabbitmq_management', these statistics tables are still being refreshed.
* | Merge pull request #3746 from rabbitmq/lukebakken/gh-3729Michael Klishin2021-11-252-14/+75
|\ \ | |/ |/| Fix case where quorum queue consumer is cancelled while message is about to be delivered
| * quorum_queue_SUITE: bump some timeoutslukebakken/gh-3729Michael Klishin2021-11-241-5/+5
| |
| * quorum_queue_SUITE: drop a debug lineMichael Klishin2021-11-241-1/+0
| |
| * Fix quorum queue crash during consumer cancel with returnLuke Bakken2021-11-232-11/+73
| | | | | | | | Fixes #3729
* | Merge pull request #3798 from wrobell/rabbitmq-streams-doc-protocol-timestampMichael Klishin2021-11-241-2/+5
|\ \ | | | | | | Link to most recent description of Osiris chunk format
| * | Link to most recent description of Osiris chunk formatwrobell2021-11-241-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Merge pull request #3779 from rabbitmq/vhost-exchange-countMichael Klishin2021-11-243-4/+152
|\ \ \ | |_|/ |/| | Add optional metrics for vhost and exchange count
| * | Use `rabbitmq_cluster_` prefix for cluster-wide metricsvhost-exchange-countAlexey Lebedeff2021-11-243-18/+20
| | |