Commit Graph

59976 Commits

Author SHA1 Message Date
Michael Klishin 232d96840a
Merge pull request #14480 from rabbitmq/mk-rabbitmq-shovel-prometheus-should-handle-single-atom-shovel-states
rabbitmq_shovel_prometheus: handle single atom shovel states
2025-09-02 03:04:52 -04:00
David Ansari bb7ead235e Fix test case block_connack_timeout
The new client library version returns reason
`{shutdown, connack_timeout}` in the monitor message.

Delete the monitor since the test case already asserts on the
`{error, connack_timeout}` return value from emqtt:connect/1.
2025-09-02 08:36:06 +02:00
David Ansari bfa8f72033 Bump emqtt to v1.14.6 2025-09-02 08:36:06 +02:00
Michael Klishin 323ce94fd8
rabbitmq_shovel_prometheus: handle single atom shovel states
Namely, 'starting'.

Previously, a Prometheus scraping endpoint hit
just at the right moment (when a shovel was
in the 'starting' state) would produce
a function_clause exception.
2025-09-02 01:55:23 -04:00
Michael Klishin 9853bdae7f
Merge pull request #14478 from rabbitmq/mk-test-mergify-backports-to-v4.2.x
rabbitmq.conf.example: cosmetics
2025-09-01 12:27:16 -04:00
Michael Klishin fa98e459fc
rabbitmq.conf.example: cosmetics 2025-09-01 12:26:25 -04:00
Michael Klishin 0bc0b6171e
mergify.yml: updates for the v4.2.x era 2025-09-01 12:18:49 -04:00
Michal Kuratczyk 1b4cff21b3
Skip local shovel tests when mixed with 3.13 (#14475) 2025-09-01 15:50:44 +02:00
David Ansari def157a105
Merge pull request #14438 from rabbitmq/stream-queue-leader-fix
Fix issue where leader is not returned after stream declaration
2025-09-01 15:32:22 +02:00
D Corbacho 0977ad2dde
Local shovels: skip tests in mixed-version (#14473)
Local shovels require rabbitmq_4_0_0 feature flag, so it can't run
in mixed-version clusters with 3.13.x
2025-09-01 13:25:51 +02:00
Michael Klishin 07ad94b269
Merge pull request #14468 from rabbitmq/dependabot/maven/deps/rabbit/test/amqp_jms_SUITE_data/main/dev-deps-175bfe7e4a
[skip ci] Bump org.apache.qpid:qpid-jms-client from 2.7.0 to 2.8.0 in /deps/rabbit/test/amqp_jms_SUITE_data in the dev-deps group across 1 directory
2025-08-30 14:20:34 -04:00
dependabot[bot] 225e3617d9
[skip ci] Bump org.apache.qpid:qpid-jms-client
Bumps the dev-deps group with 1 update in the /deps/rabbit/test/amqp_jms_SUITE_data directory: org.apache.qpid:qpid-jms-client.


Updates `org.apache.qpid:qpid-jms-client` from 2.7.0 to 2.8.0

---
updated-dependencies:
- dependency-name: org.apache.qpid:qpid-jms-client
  dependency-version: 2.8.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-30 18:02:44 +00:00
Michael Klishin 317b12f6fb
Merge pull request #14465 from rabbitmq/mk-rearrange-shovel-test-suites
Re-arrange shovel test suites
2025-08-29 22:21:26 -04:00
Michael Klishin 30fb9c1128
Re-arrange shovel test suites
* Use more descriptive names
 * Prefix unit test suites accordingly
 * Reuse await_credit/1
 * await_credit/1 in a flakey test
2025-08-29 18:34:51 -04:00
Michael Klishin f25d871d23
Merge pull request #14460 from rabbitmq/dependabot/github_actions/main/google-github-actions/auth-3.0.0
Bump google-github-actions/auth from 2.1.12 to 3.0.0
2025-08-29 15:52:34 -04:00
Michael Klishin 672b76dd1c
Merge pull request #14459 from rabbitmq/mk-bump-erlang-mk
Bump erlang.mk with 'gmake erlang-mk'
2025-08-29 15:51:06 -04:00
dependabot[bot] 275c62d46c
Bump google-github-actions/auth from 2.1.12 to 3.0.0
Bumps [google-github-actions/auth](https://github.com/google-github-actions/auth) from 2.1.12 to 3.0.0.
- [Release notes](https://github.com/google-github-actions/auth/releases)
- [Changelog](https://github.com/google-github-actions/auth/blob/main/CHANGELOG.md)
- [Commits](https://github.com/google-github-actions/auth/compare/v2.1.12...v3.0.0)

---
updated-dependencies:
- dependency-name: google-github-actions/auth
  dependency-version: 3.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-29 18:03:26 +00:00
Michael Klishin 36674f1129
Bump erlang.mk with 'gmake erlang-mk' 2025-08-29 12:44:38 -04:00
Karl Nilsson 4d7a3fed1e QQ: exclude delivery_limit from policy repair comparison.
As it cannot be updated as part of a policy when it is disabled (-1)
 it needs to be excluded from comparison
2025-08-29 09:49:07 +01:00
Michael Klishin 676698a233
Merge pull request #14454 from rabbitmq/md/first-time-ff-log-levels
rabbit_ff_controller: Raise log levels of first-time boot messages
2025-08-28 20:24:02 -04:00
Michael Davis 9414209d67
rabbit_ff_controller: Raise log levels of first-time boot messages
These lines can be very useful for determining why a subset of feature
flags is/isn't being enabled on boot. They're currently at debug level.
However a first-time boot of an unclustered node is a rare event, so
these lines shouldn't be noisy.
2025-08-28 20:03:37 -04:00
Michael Klishin 3b8c590189
4.2.0 release notes cosmetics 2025-08-28 19:08:32 -04:00
Michael Klishin bbe25c0d40
Merge pull request #14444 from lukebakken/lukebakken/fix-package-build
Ensure that file modified time is set correctly
2025-08-28 19:05:27 -04:00
Luke Bakken 993322f6d7
Ensure that file modified time is set correctly
Commit e435bc6886 introduced behavior in
creating the source-dist archive that sets the file modification time to
the same time as the most recent `git` commit. This facilitates
reproducible builds, but it also has an issue. The code sets `TZ=`,
which means that on systems running in time zones which aren't UTC, the
modification time may be in the future (or past). It depends on the
system's behavior.

Up until recently, this only resulted in GNU make printing warnings
about modification times being in the future. However, with recent
changes in how escripts are built, this results in an "infinite make
loop" that is described in https://github.com/rabbitmq/rabbitmq-server/discussions/14440
and https://github.com/rabbitmq/rabbitmq-server/discussions/14443

This solution is to set the `TZ=UTC` when calculating the time of the
most recent `git` commit, as well as when using `touch -t` to set the
file modification times.

Fixes #14440, #14443
2025-08-28 13:37:12 -07:00
Michael Klishin 5fb6ca6c39
Merge pull request #14449 from rabbitmq/fix-ci-oci-in-pr
Fix in OCI trigger for PRs
2025-08-28 16:08:21 -04:00
Michael Klishin 9d7ee9639f
Merge pull request #14448 from rabbitmq/test-feature-flags-in-management-ui-in-main
New Selenium suite for testing feature flags in management UI
2025-08-28 10:24:44 -04:00
Michael Klishin f754ddde52
Merge pull request #14451 from cloudamqp/docs_unresp_timeout
Fix docs: list_unresponsive_queues queue-timeout is in seconds
2025-08-28 10:17:09 -04:00
Péter Gömöri bfa38d00b0 Fix docs: list_unresponsive_queues queue-timeout is in seconds
The unit was changed in commit 829a918c
2025-08-28 14:06:05 +02:00
Aitor Perez 771874ca6c
Fix OCI trigger in PR
The output is of type bool, and the comparison was checking for string
'true'. In JS 'true' is not equal true (bool) 🤷
2025-08-28 11:03:17 +01:00
Marcial Rosales 4aa666e08a Take into account experimental ff 2025-08-28 11:40:22 +02:00
Marcial Rosales fbd83663e3 Check that since 4.2 onwards khepri_db is enabled 2025-08-28 11:03:31 +02:00
Marcial Rosales a809c3000e Test feature flags in management ui with selenium 2025-08-28 11:02:06 +02:00
Marcial Rosales 4bc4a9ec47 Test feature flags 2025-08-28 10:51:09 +02:00
Michael Klishin 5a19efee89
Bump next 4.2.0 preview to beta.3 2025-08-27 20:51:09 -04:00
Michael Klishin 1af8fe25eb
4.2.0 release notes updates 2025-08-27 20:48:32 -04:00
Michael Klishin 7e0627de71
4.1.4 release notes cosmetics 2025-08-27 20:33:45 -04:00
Michael Klishin 53a129bbdd
Release notes cosmetics 2025-08-27 20:33:33 -04:00
Michael Klishin a937c326f3
4.2.0 release notes updates for beta.2 2025-08-27 20:28:57 -04:00
Michael Klishin b99aca71fe
A 4.1.4 release notes update 2025-08-27 20:28:05 -04:00
Michael Klishin 8a4604a83f
4.1.4 release notes 2025-08-27 20:08:36 -04:00
Michael Klishin 88ea37b290
Shovel: use a constant for the runtime parameter component 2025-08-27 17:26:07 -04:00
David Ansari 81caabc85e
Merge pull request #14389 from rabbitmq/refuse-link
Detach link for link-level errors
2025-08-27 17:29:02 +02:00
Karl Nilsson e5891e24de Fix issue where leader is not returned after stream declaration
This would affect the meta data that is returned when declaring
a queue through AMQP.
2025-08-27 14:40:08 +01:00
David Ansari eef470df37 Detach link for link-level errors
## What?
Refuse or detach the link instead of ending the session for many
link-level errors, including the following:
* Source queue or target exchange doesn't exist during attach
* Trying to consume from an exclusive queue on a different connection
* Delivery of message to a target queue fails
* Wrong delivery-id
* Wrong settled flag
* Queue declaration fails for dynamic queues
* Publishing to internal exchange

 ## Why?
Because many errors are scoped to a single terminus, detaching just that link
preserves the rest of the session’s links - avoiding needless disruption of
other traffic. AMQP 1.0’s error model is hierarchical; RabbitMQ should escalate to
ending the session only for session-level faults or if the client keeps
using a destroyed link.

 ## How?
Refuse link as per figure 2.33
2025-08-27 09:49:22 +02:00
Michael Klishin 1fc7390fc6
Merge pull request #14434 from rabbitmq/mk-extract-dyn-shovel-supervisor
Shovel status: minor refactoring
2025-08-26 19:07:34 -04:00
Michael Klishin dee15f05a1
Shovel status: minor refactoring 2025-08-26 18:43:57 -04:00
Michael Klishin ab71a39fa8
Merge pull request #14428 from rabbitmq/local-shovels-requeue
Local shovel: handle unacked messages in queue down
2025-08-26 16:52:05 -04:00
Diana Parra Corbacho 68b98bfd3b Local shovels: ack messages not routed to any queue using exchanges 2025-08-26 20:24:30 +02:00
Michael Klishin 4688150a44
rabbitmq_shovel_management tests: whitelist expected exceptions in node logs 2025-08-26 13:37:50 -04:00
Michael Klishin 34befb6fe4
Merge pull request #14431 from rabbitmq/mk-bump-ra-to-2.17.1
Bump Ra to 2.17.1
2025-08-26 13:06:03 -04:00