Commit Graph

58398 Commits

Author SHA1 Message Date
Loïc Hoguin f6e170aa23 Update Erlang.mk
(cherry picked from commit b34a7227b3)

# Conflicts:
#	erlang.mk
2025-04-30 05:49:05 +00:00
Michael Klishin 5fa5d22435
4.0.1 release notes: remove a pre-GA leftover
(cherry picked from commit 005bb2c790)

Conflicts:
	release-notes/4.1.0.md
2025-04-27 16:59:28 -04:00
Michael Klishin 2f66964301
Merge pull request #13813 from rabbitmq/dependabot/maven/deps/rabbitmq_auth_backend_http/examples/rabbitmq_auth_backend_spring_boot/v4.0.x/prod-deps-ad66588521
[skip ci] Bump the prod-deps group across 2 directories with 1 update
2025-04-26 23:54:52 +04:00
Michael Klishin 1f218eb6b4
Merge pull request #13812 from rabbitmq/dependabot/maven/deps/rabbitmq_stream_management/test/http_SUITE_data/v4.0.x/dev-deps-87f496a585
[skip ci] Bump com.google.code.gson:gson from 2.13.0 to 2.13.1 in /deps/rabbitmq_stream_management/test/http_SUITE_data in the dev-deps group across 1 directory
2025-04-26 23:54:45 +04:00
dependabot[bot] e2fa677e93
[skip ci] Bump the prod-deps group across 2 directories with 1 update
Bumps the prod-deps group with 1 update in the /deps/rabbitmq_auth_backend_http/examples/rabbitmq_auth_backend_spring_boot directory: [org.springframework.boot:spring-boot-starter-parent](https://github.com/spring-projects/spring-boot).
Bumps the prod-deps group with 1 update in the /deps/rabbitmq_auth_backend_http/examples/rabbitmq_auth_backend_spring_boot_kotlin directory: [org.springframework.boot:spring-boot-starter-parent](https://github.com/spring-projects/spring-boot).


Updates `org.springframework.boot:spring-boot-starter-parent` from 3.4.4 to 3.4.5
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](https://github.com/spring-projects/spring-boot/compare/v3.4.4...v3.4.5)

Updates `org.springframework.boot:spring-boot-starter-parent` from 3.4.4 to 3.4.5
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](https://github.com/spring-projects/spring-boot/compare/v3.4.4...v3.4.5)

---
updated-dependencies:
- dependency-name: org.springframework.boot:spring-boot-starter-parent
  dependency-version: 3.4.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: prod-deps
- dependency-name: org.springframework.boot:spring-boot-starter-parent
  dependency-version: 3.4.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: prod-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-26 18:37:47 +00:00
dependabot[bot] 986ec2a6c1
[skip ci] Bump com.google.code.gson:gson
Bumps the dev-deps group with 1 update in the /deps/rabbitmq_stream_management/test/http_SUITE_data directory: [com.google.code.gson:gson](https://github.com/google/gson).


Updates `com.google.code.gson:gson` from 2.13.0 to 2.13.1
- [Release notes](https://github.com/google/gson/releases)
- [Changelog](https://github.com/google/gson/blob/main/CHANGELOG.md)
- [Commits](https://github.com/google/gson/compare/gson-parent-2.13.0...gson-parent-2.13.1)

---
updated-dependencies:
- dependency-name: com.google.code.gson:gson
  dependency-version: 2.13.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-26 18:37:02 +00:00
Michael Klishin 8b5e7a92d3
Merge pull request #13806 from rabbitmq/dependabot/github_actions/v4.0.x/google-github-actions/auth-2.1.10
Bump google-github-actions/auth from 2.1.9 to 2.1.10
2025-04-26 00:23:59 +04:00
dependabot[bot] a9542c17cb
Bump google-github-actions/auth from 2.1.9 to 2.1.10
Bumps [google-github-actions/auth](https://github.com/google-github-actions/auth) from 2.1.9 to 2.1.10.
- [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.9...v2.1.10)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-25 19:02:49 +00:00
Michael Klishin af6a224d91
Merge pull request #13793 from rabbitmq/dependabot/github_actions/v4.0.x/google-github-actions/auth-2.1.9
Bump google-github-actions/auth from 2.1.8 to 2.1.9
2025-04-24 23:11:02 +04:00
dependabot[bot] 39af078515
Bump google-github-actions/auth from 2.1.8 to 2.1.9
Bumps [google-github-actions/auth](https://github.com/google-github-actions/auth) from 2.1.8 to 2.1.9.
- [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.8...v2.1.9)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-24 19:03:31 +00:00
Michael Klishin cf98ba5a8c
Drop the 4.0.x alphas workflow
Now that 4.1.0 is out, 4.0.x binary releases will
no longer be available publicly.
2025-04-19 14:24:08 -04:00
Michael Klishin 50357a0a6e
4.0.9 release notes
(cherry picked from commit 97b98c1f5f)
2025-04-14 08:55:48 -04:00
Michael Klishin 1c02612423
Merge pull request #13741 from rabbitmq/dependabot/maven/deps/rabbit/test/amqp_system_SUITE_data/java-tests/v4.0.x/dev-deps-2c123be8b9
[skip ci] Bump the dev-deps group across 5 directories with 4 updates
2025-04-13 00:20:41 +04:00
Michael Klishin 8776776869
Merge pull request #13742 from rabbitmq/dependabot/maven/deps/rabbit/test/amqp_system_SUITE_data/java-tests/v4.0.x/prod-deps-68a44efc4f
[skip ci] Bump the prod-deps group across 4 directories with 1 update
2025-04-13 00:20:33 +04:00
dependabot[bot] 813e0adc34
[skip ci] Bump the prod-deps group across 4 directories with 1 update
Bumps the prod-deps group with 1 update in the /deps/rabbit/test/amqp_system_SUITE_data/java-tests directory: [com.diffplug.spotless:spotless-maven-plugin](https://github.com/diffplug/spotless).
Bumps the prod-deps group with 1 update in the /deps/rabbitmq_mqtt/test/java_SUITE_data directory: [com.diffplug.spotless:spotless-maven-plugin](https://github.com/diffplug/spotless).
Bumps the prod-deps group with 1 update in the /deps/rabbitmq_stream/test/rabbit_stream_SUITE_data directory: [com.diffplug.spotless:spotless-maven-plugin](https://github.com/diffplug/spotless).
Bumps the prod-deps group with 1 update in the /deps/rabbitmq_stream_management/test/http_SUITE_data directory: [com.diffplug.spotless:spotless-maven-plugin](https://github.com/diffplug/spotless).


Updates `com.diffplug.spotless:spotless-maven-plugin` from 2.44.3 to 2.44.4
- [Release notes](https://github.com/diffplug/spotless/releases)
- [Changelog](https://github.com/diffplug/spotless/blob/main/CHANGES.md)
- [Commits](https://github.com/diffplug/spotless/compare/maven/2.44.3...maven/2.44.4)

Updates `com.diffplug.spotless:spotless-maven-plugin` from 2.44.3 to 2.44.4
- [Release notes](https://github.com/diffplug/spotless/releases)
- [Changelog](https://github.com/diffplug/spotless/blob/main/CHANGES.md)
- [Commits](https://github.com/diffplug/spotless/compare/maven/2.44.3...maven/2.44.4)

Updates `com.diffplug.spotless:spotless-maven-plugin` from 2.44.3 to 2.44.4
- [Release notes](https://github.com/diffplug/spotless/releases)
- [Changelog](https://github.com/diffplug/spotless/blob/main/CHANGES.md)
- [Commits](https://github.com/diffplug/spotless/compare/maven/2.44.3...maven/2.44.4)

Updates `com.diffplug.spotless:spotless-maven-plugin` from 2.44.3 to 2.44.4
- [Release notes](https://github.com/diffplug/spotless/releases)
- [Changelog](https://github.com/diffplug/spotless/blob/main/CHANGES.md)
- [Commits](https://github.com/diffplug/spotless/compare/maven/2.44.3...maven/2.44.4)

---
updated-dependencies:
- dependency-name: com.diffplug.spotless:spotless-maven-plugin
  dependency-version: 2.44.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: prod-deps
- dependency-name: com.diffplug.spotless:spotless-maven-plugin
  dependency-version: 2.44.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: prod-deps
- dependency-name: com.diffplug.spotless:spotless-maven-plugin
  dependency-version: 2.44.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: prod-deps
- dependency-name: com.diffplug.spotless:spotless-maven-plugin
  dependency-version: 2.44.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: prod-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-12 18:32:14 +00:00
dependabot[bot] 0f30e9a755
[skip ci] Bump the dev-deps group across 5 directories with 4 updates
Bumps the dev-deps group with 1 update in the /deps/rabbit/test/amqp_system_SUITE_data/java-tests directory: [org.junit.jupiter:junit-jupiter-engine](https://github.com/junit-team/junit5).
Bumps the dev-deps group with 1 update in the /deps/rabbitmq_auth_backend_http/examples/rabbitmq_auth_backend_spring_boot directory: [org.junit.jupiter:junit-jupiter-params](https://github.com/junit-team/junit5).
Bumps the dev-deps group with 1 update in the /deps/rabbitmq_mqtt/test/java_SUITE_data directory: [org.junit.jupiter:junit-jupiter](https://github.com/junit-team/junit5).
Bumps the dev-deps group with 2 updates in the /deps/rabbitmq_stream/test/rabbit_stream_SUITE_data directory: [org.junit.jupiter:junit-jupiter-engine](https://github.com/junit-team/junit5) and [org.junit.jupiter:junit-jupiter-params](https://github.com/junit-team/junit5).
Bumps the dev-deps group with 3 updates in the /deps/rabbitmq_stream_management/test/http_SUITE_data directory: [org.junit.jupiter:junit-jupiter-engine](https://github.com/junit-team/junit5), [org.junit.jupiter:junit-jupiter-params](https://github.com/junit-team/junit5) and [com.google.code.gson:gson](https://github.com/google/gson).


Updates `org.junit.jupiter:junit-jupiter-engine` from 5.12.1 to 5.12.2
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.12.1...r5.12.2)

Updates `org.junit.jupiter:junit-jupiter-params` from 5.12.1 to 5.12.2
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.12.1...r5.12.2)

Updates `org.junit.jupiter:junit-jupiter` from 5.12.1 to 5.12.2
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.12.1...r5.12.2)

Updates `org.junit.jupiter:junit-jupiter-engine` from 5.12.1 to 5.12.2
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.12.1...r5.12.2)

Updates `org.junit.jupiter:junit-jupiter-params` from 5.12.1 to 5.12.2
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.12.1...r5.12.2)

Updates `org.junit.jupiter:junit-jupiter-params` from 5.12.1 to 5.12.2
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.12.1...r5.12.2)

Updates `org.junit.jupiter:junit-jupiter-engine` from 5.12.1 to 5.12.2
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.12.1...r5.12.2)

Updates `org.junit.jupiter:junit-jupiter-params` from 5.12.1 to 5.12.2
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.12.1...r5.12.2)

Updates `org.junit.jupiter:junit-jupiter-params` from 5.12.1 to 5.12.2
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.12.1...r5.12.2)

Updates `com.google.code.gson:gson` from 2.12.1 to 2.13.0
- [Release notes](https://github.com/google/gson/releases)
- [Changelog](https://github.com/google/gson/blob/main/CHANGELOG.md)
- [Commits](https://github.com/google/gson/compare/gson-parent-2.12.1...gson-parent-2.13.0)

---
updated-dependencies:
- dependency-name: org.junit.jupiter:junit-jupiter-engine
  dependency-version: 5.12.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev-deps
- dependency-name: org.junit.jupiter:junit-jupiter-params
  dependency-version: 5.12.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev-deps
- dependency-name: org.junit.jupiter:junit-jupiter
  dependency-version: 5.12.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev-deps
- dependency-name: org.junit.jupiter:junit-jupiter-engine
  dependency-version: 5.12.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev-deps
- dependency-name: org.junit.jupiter:junit-jupiter-params
  dependency-version: 5.12.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev-deps
- dependency-name: org.junit.jupiter:junit-jupiter-params
  dependency-version: 5.12.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev-deps
- dependency-name: org.junit.jupiter:junit-jupiter-engine
  dependency-version: 5.12.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev-deps
- dependency-name: org.junit.jupiter:junit-jupiter-params
  dependency-version: 5.12.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev-deps
- dependency-name: org.junit.jupiter:junit-jupiter-params
  dependency-version: 5.12.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev-deps
- dependency-name: com.google.code.gson:gson
  dependency-version: 2.13.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-12 18:31:27 +00:00
Michael Klishin 2d7702dc62
Merge pull request #13734 from rabbitmq/mergify/bp/v4.0.x/pr-13733
Osiris v1.8.7 (backport #13726) (backport #13733)
2025-04-11 20:41:06 +04:00
Michael Klishin d6d11a22e6
Merge pull request #13732 from rabbitmq/mergify/bp/v4.0.x/pr-13729
Fix concurrent AMQP queue declarations (backport #13727) (backport #13729)
2025-04-11 19:26:15 +04:00
Karl Nilsson 3389496d05 Osiris v1.8.7
This release contains some logging improvements to avoid logging
large stack traces during normal operations such as rolling restarts.

(cherry picked from commit bd96f86dc4)
(cherry picked from commit d47328942f)
2025-04-11 15:15:15 +00:00
David Ansari fe067140f0 Fix concurrent AMQP queue declarations (#13727)
* Fix concurrent AMQP queue declarations

Prior to this commit, when AMQP clients declared the same queues
concurrently, the following crash occurred:
```
  │ *Error{Condition: amqp:internal-error, Description: {badmatch,{<<"200">>,
  │            {map,[{{utf8,<<"leader">>},{utf8,<<"rabbit-2@carrot">>}},
  │                  {{utf8,<<"message_count">>},{ulong,0}},
  │                  {{utf8,<<"consumer_count">>},{uint,0}},
  │                  {{utf8,<<"name">>},{utf8,<<"cq-145">>}},
  │                  {{utf8,<<"vhost">>},{utf8,<<"/">>}},
  │                  {{utf8,<<"durable">>},{boolean,true}},
  │                  {{utf8,<<"auto_delete">>},{boolean,false}},
  │                  {{utf8,<<"exclusive">>},{boolean,false}},
  │                  {{utf8,<<"type">>},{utf8,<<"classic">>}},
  │                  {{utf8,<<"arguments">>},
  │                   {map,[{{utf8,<<"x-queue-type">>},{utf8,<<"classic">>}}]}},
  │                  {{utf8,<<"replicas">>},
  │                   {array,utf8,[{utf8,<<"rabbit-2@carrot">>}]}}]},
  │            {[{{resource,<<"/">>,queue,<<"cq-145">>},configure},
  │              {{resource,<<"/">>,queue,<<"cq-144">>},configure},
  │              {{resource,<<"/">>,queue,<<"cq-143">>},configure},
  │              {{resource,<<"/">>,queue,<<"cq-142">>},configure},
  │              {{resource,<<"/">>,queue,<<"cq-141">>},configure},
  │              {{resource,<<"/">>,queue,<<"cq-140">>},configure},
  │              {{resource,<<"/">>,queue,<<"cq-139">>},configure},
  │              {{resource,<<"/">>,queue,<<"cq-138">>},configure},
  │              {{resource,<<"/">>,queue,<<"cq-137">>},configure},
  │              {{resource,<<"/">>,queue,<<"cq-136">>},configure},
  │              {{resource,<<"/">>,queue,<<"cq-135">>},configure},
  │              {{resource,<<"/">>,queue,<<"cq-134">>},configure}],
  │             []}}}
  │ [{rabbit_amqp_management,handle_http_req,8,
  │                          [{file,"rabbit_amqp_management.erl"},{line,130}]},
  │  {rabbit_amqp_management,handle_request,5,
  │                          [{file,"rabbit_amqp_management.erl"},{line,43}]},
  │  {rabbit_amqp_session,incoming_mgmt_link_transfer,3,
  │                       [{file,"rabbit_amqp_session.erl"},{line,2317}]},
  │  {rabbit_amqp_session,handle_frame,2,
  │                       [{file,"rabbit_amqp_session.erl"},{line,963}]},
  │  {rabbit_amqp_session,handle_cast,2,
  │                       [{file,"rabbit_amqp_session.erl"},{line,539}]},
  │  {gen_server,try_handle_cast,3,[{file,"gen_server.erl"},{line,2371}]},
  │  {gen_server,handle_msg,6,[{file,"gen_server.erl"},{line,2433}]},
  │  {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,329}]}], Info: map[]}
```

To repro, run the following command in parallel in two separate terminals:
```
./omq amqp -x 10000 -t /queues/cq-%d -y 0 -C 0 --queues classic  classic
```

* Simplify

(cherry picked from commit 6eb1f87e14)
(cherry picked from commit 4cef5a697c)
2025-04-11 12:01:34 +00:00
mergify[bot] 268afdd376
Remove log level tests (#13723) (#13730) (#13731)
When debug logging is enabled, we log something at each log level
to test if logs are emitted. I don't think this is particularly useful,
but it's certainly annoying, because I constatnly need to filter
out these logs when searching if any errors happened during tests.

(cherry picked from commit 589e0b578c)

Co-authored-by: Michal Kuratczyk <michal.kuratczyk@broadcom.com>
(cherry picked from commit abdcd47d22)

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2025-04-11 13:28:58 +02:00
Jean-Sébastien Pédron 5615fd3a19
Merge pull request #13719 from rabbitmq/mergify/bp/v4.0.x/pr-13717
Fix test flakes in various testsuites (backport #13470) (backport #13717)
2025-04-09 15:08:24 +02:00
Jean-Sébastien Pédron a1744a7831 rabbitmq-run.mk: Stop node in `start-background-broker` in case of error
[Why]
The CLI sometimes crashes early because it fails to configure the Erlang
distribution.

Because we use two CLI commands to watch the start of RabbitMQ, if one
of them fails, the Make recipe will exit with an error, leaving the
RabbitMQ node running.

[How]
We use a shell trap to stop the node if the shell is about to exit with
an error.

While here, we retry the `await_startup` CLI command several times
because this is the one failing the most. This is until the crash is
understood and a proper fix is committed.

(cherry picked from commit 3a278e7e7c)
(cherry picked from commit 88958f3723)
2025-04-09 10:49:24 +00:00
Jean-Sébastien Pédron 3da990346b rabbit_stream_SUITE: Increase some timeouts
(cherry picked from commit 0e7f92aba2)
(cherry picked from commit c83ed19f3e)
2025-04-09 10:49:23 +00:00
Jean-Sébastien Pédron 5af5235b0c logging_SUITE: Increase timetrap to 3 minutes
[Why]
We sometimes hit the 1-minute timetrap in CI even though the tests are
running fine.

(cherry picked from commit 43916da581)
(cherry picked from commit 3e5c25485c)
2025-04-09 10:49:23 +00:00
Jean-Sébastien Pédron df3c9e701d priority_queue_recovery_SUITE: Add suffix to RabbitMQ node names
[Why]
This helps debugging.

(cherry picked from commit 28870f380c)
(cherry picked from commit 3827f7b242)
2025-04-09 10:49:23 +00:00
Jean-Sébastien Pédron 0d78796631 v5_SUITE: Close all connections in `end_per_testcase/2`
[Why]
Many tests do not clean up their connections if they encounter a
failure. This affects subsequent testcases negatively.

(cherry picked from commit 97da746160)
(cherry picked from commit 5c0d16e436)
2025-04-09 10:49:22 +00:00
Michael Klishin 8cd7f6658f
Merge pull request #13715 from rabbitmq/mergify/bp/v4.0.x/pr-13714
New management plugin option: opt-in to serve the HTTP API reference page only to authenticated users (backport #13698) (backport #13714)
2025-04-09 02:54:53 -04:00
Michael Klishin c0f31a6985 rabbitmq.conf schema and tests for #13698
(cherry picked from commit 20188a770e)
(cherry picked from commit 98d44459a6)
2025-04-09 06:49:17 +00:00
Loïc Hoguin 3fa449ae97 Add new option require_auth_for_api_desc_page to mgmt
This allows restricting access to the /api/index.html and
the /cli/index.html page to authenticated users should the
user really want to. This can be enabled via advanced.config.

(cherry picked from commit 400e8006e5)
(cherry picked from commit 95c2ba756c)
2025-04-09 06:49:17 +00:00
Michael Klishin 93ca908d91
Merge pull request #13711 from rabbitmq/mergify/bp/v4.0.x/pr-13708
Avoid crash when reporting federation status (backport #13701) (backport #13708)
2025-04-08 18:18:45 -04:00
Michal Kuratczyk 0a0abb66af Avoid crash when reporting federation status
This should address crashes like this in (found in user's logs):
```
exception error: no case clause matching
                  [[{connection_details,[]},
                    {name,<<"10.0.13.41:50497 -> 10.2.230.128:5671 (1)">>},
                    {node,rabbit@foobar},
                    {number,1},
                    {user,<<"...">>},
                    {user_who_performed_action,<<"...">>},
                    {vhost,<<"/">>}],
                   [{connection_details,[]},
                    {name,<<"10.0.13.41:50142 -> 10.2.230.128:5671 (1)">>},
                    {node,rabbit@foobar},
                    {number,1},
                    {user,<<"...">>},
                    {user_who_performed_action,<<"...">>},
                    {vhost,<<"/">>}]]
   in function  rabbit_federation_mgmt:format/3 (rabbit_federation_mgmt.erl, line 100)
   in call from rabbit_federation_mgmt:'-status/3-lc$^0/1-0-'/4 (rabbit_federation_mgmt.erl, line 89)
   in call from rabbit_federation_mgmt:'-status/4-lc$^0/1-0-'/3 (rabbit_federation_mgmt.erl, line 82)
   in call from rabbit_federation_mgmt:'-status/4-lc$^0/1-0-'/3 (rabbit_federation_mgmt.erl, line 82)
   in call from rabbit_federation_mgmt:status/4 (rabbit_federation_mgmt.erl, line 82)
   in call from rabbit_federation_mgmt:to_json/2 (rabbit_federation_mgmt.erl, line 57)
   in call from cowboy_rest:call/3 (src/cowboy_rest.erl, line 1590)
   in call from cowboy_rest:set_resp_body/2 (src/cowboy_rest.erl, line 1473)
```

(cherry picked from commit 6513d028e3)
(cherry picked from commit a8dfbf4692)
2025-04-08 20:01:29 +00:00
Michael Klishin 016c4401a5
Merge pull request #13700 from rabbitmq/mergify/bp/v4.0.x/pr-13699
Fix type spec for AMQP 1.0 address (backport #13696) (backport #13699)
2025-04-07 16:08:13 -04:00
David Ansari c6b510f28a Fix type spec for AMQP 1.0 address
The target address can be null which denotes the anonymous terminus.
https://docs.oasis-open.org/amqp/anonterm/v1.0/anonterm-v1.0.html

(cherry picked from commit 561376052e)
(cherry picked from commit a491dcbb02)
2025-04-07 15:29:04 +00:00
Jean-Sébastien Pédron d706ddb27f
Merge pull request #13695 from rabbitmq/mergify/bp/v4.0.x/pr-13694
Update khepri_mnesia_migration from 0.7.1 to 0.7.2 (backport #13686) (backport #13694)
2025-04-07 12:11:12 +02:00
Jean-Sébastien Pédron 951b22bedd Update khepri_mnesia_migration from 0.7.1 to 0.7.2
Release notes:
https://github.com/rabbitmq/khepri_mnesia_migration/releases/tag/v0.7.2

In particular, it makes sure that the Erlang node with the lowest Khepri
machine version is use as the cluster seed node. Otherwise these nodes
would not be able to apply commands from newer Khepri machines. See
rabbitmq/khepri_mnesia_migration#30.

(cherry picked from commit 860d9fcd9c)
(cherry picked from commit 8cce31755b)
2025-04-07 08:36:02 +00:00
Jean-Sébastien Pédron 4409bdd29b quorum_queue_SUITE: Improve reliability of a test
... by waiting for a state.

(cherry picked from commit 9704d230fa)
(cherry picked from commit 98e80bcd30)
2025-04-07 08:36:02 +00:00
Michael Klishin ed1a37f860
Merge pull request #13689 from rabbitmq/dependabot/maven/deps/rabbit/test/amqp_system_SUITE_data/java-tests/v4.0.x/prod-deps-4b109dad77
[skip ci] Bump the prod-deps group across 4 directories with 1 update
2025-04-05 14:50:05 -04:00
dependabot[bot] 4c685e9cb7
[skip ci] Bump the prod-deps group across 4 directories with 1 update
Bumps the prod-deps group with 1 update in the /deps/rabbit/test/amqp_system_SUITE_data/java-tests directory: [org.apache.maven.plugins:maven-surefire-plugin](https://github.com/apache/maven-surefire).
Bumps the prod-deps group with 1 update in the /deps/rabbitmq_mqtt/test/java_SUITE_data directory: [org.apache.maven.plugins:maven-surefire-plugin](https://github.com/apache/maven-surefire).
Bumps the prod-deps group with 1 update in the /deps/rabbitmq_stream/test/rabbit_stream_SUITE_data directory: [org.apache.maven.plugins:maven-surefire-plugin](https://github.com/apache/maven-surefire).
Bumps the prod-deps group with 1 update in the /deps/rabbitmq_stream_management/test/http_SUITE_data directory: [org.apache.maven.plugins:maven-surefire-plugin](https://github.com/apache/maven-surefire).


Updates `org.apache.maven.plugins:maven-surefire-plugin` from 3.5.2 to 3.5.3
- [Release notes](https://github.com/apache/maven-surefire/releases)
- [Commits](https://github.com/apache/maven-surefire/compare/surefire-3.5.2...surefire-3.5.3)

Updates `org.apache.maven.plugins:maven-surefire-plugin` from 3.5.2 to 3.5.3
- [Release notes](https://github.com/apache/maven-surefire/releases)
- [Commits](https://github.com/apache/maven-surefire/compare/surefire-3.5.2...surefire-3.5.3)

Updates `org.apache.maven.plugins:maven-surefire-plugin` from 3.5.2 to 3.5.3
- [Release notes](https://github.com/apache/maven-surefire/releases)
- [Commits](https://github.com/apache/maven-surefire/compare/surefire-3.5.2...surefire-3.5.3)

Updates `org.apache.maven.plugins:maven-surefire-plugin` from 3.5.2 to 3.5.3
- [Release notes](https://github.com/apache/maven-surefire/releases)
- [Commits](https://github.com/apache/maven-surefire/compare/surefire-3.5.2...surefire-3.5.3)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-surefire-plugin
  dependency-version: 3.5.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: prod-deps
- dependency-name: org.apache.maven.plugins:maven-surefire-plugin
  dependency-version: 3.5.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: prod-deps
- dependency-name: org.apache.maven.plugins:maven-surefire-plugin
  dependency-version: 3.5.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: prod-deps
- dependency-name: org.apache.maven.plugins:maven-surefire-plugin
  dependency-version: 3.5.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: prod-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-05 18:47:12 +00:00
Michael Klishin 7a7eb55fa9
Update 4.0.8 release notes
[skip ci]

(cherry picked from commit 2af6181ece)
2025-04-03 00:25:11 -04:00
Michael Klishin 8b3ae30ba3
Merge pull request #13678 from rabbitmq/mergify/bp/v4.0.x/pr-13677
Ignore stream connections in unexpected states (backport #13674) (backport #13677)
2025-04-03 00:11:31 -04:00
Michael Klishin dd920b6510
Merge pull request #13676 from rabbitmq/mergify/bp/v4.0.x/pr-13675
Added 'unlimited' config setting for peer_discovery_retry_limit (backport #13673) (backport #13675)
2025-04-02 23:20:46 -04:00
Michal Kuratczyk b97b42540f Ignore stream connections in unexpected states
A connection which terminated before it was fully established
would lead to a function_clause, since metadata is not available
to really call notify_connection_closed. We can just ignore such
connections and not notify about them.

Resolves https://github.com/rabbitmq/rabbitmq-server/discussions/13670

(cherry picked from commit 09ed8fdc07)
(cherry picked from commit 268b15b589)
2025-04-03 02:59:38 +00:00
Simon Unge fb07a8f495 Added 'unlimited' config setting for peer_discovery_retry_limit
(cherry picked from commit b7c4f66a69)
(cherry picked from commit 668178d67d)
2025-04-03 02:37:27 +00:00
Michael Klishin 0656f98d18
4.0.8 release notes fixes
(cherry picked from commit 45f0f1cb97)
2025-04-01 22:07:14 -04:00
Michael Klishin 9de36999eb
4.0.8 release notes
[skip ci]

(cherry picked from commit 213822eb5d)
2025-04-01 18:57:55 -04:00
Michael Klishin 8e998c4062
Merge pull request #13669 from rabbitmq/mergify/bp/v4.0.x/pr-13667
Allow a previously reset node to rejoin its original cluster (backport #13643) (backport #13667)
2025-04-01 15:23:54 -04:00
Michael Klishin 100c16adf1
Merge pull request #13668 from rabbitmq/mergify/bp/v4.0.x/pr-13666
Use relative path for the path linked to the cookie (backport #13664) (backport #13666)
2025-04-01 13:26:14 -04:00
Michael Klishin aed32190bb
Resolve a conflict #13664 #13666 #13668 2025-04-01 13:25:05 -04:00
Michael Klishin 6d45ee85de Naming #13643
(cherry picked from commit e6bc6a451f)
(cherry picked from commit b0eaa575fd)
2025-04-01 17:23:38 +00:00