Commit Graph

54708 Commits

Author SHA1 Message Date
Michael Klishin 2f7b17cb8f
Merge pull request #9740 from rabbitmq/dependabot/maven/deps/rabbitmq_auth_backend_http/examples/rabbitmq_auth_backend_spring_boot_kotlin/main/org.springframework.boot-spring-boot-starter-parent-3.1.5
Bump org.springframework.boot:spring-boot-starter-parent from 3.1.4 to 3.1.5 in /deps/rabbitmq_auth_backend_http/examples/rabbitmq_auth_backend_spring_boot_kotlin
2023-10-19 14:16:49 -04:00
dependabot[bot] 3405e53e53
Bump org.springframework.boot:spring-boot-starter-parent
Bumps [org.springframework.boot:spring-boot-starter-parent](https://github.com/spring-projects/spring-boot) from 3.1.4 to 3.1.5.
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](https://github.com/spring-projects/spring-boot/compare/v3.1.4...v3.1.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-19 18:16:33 +00:00
Michael Klishin 1f1318dc08
Merge pull request #9739 from rabbitmq/dependabot/maven/deps/rabbitmq_auth_backend_http/examples/rabbitmq_auth_backend_spring_boot/main/org.springframework.boot-spring-boot-starter-parent-3.1.5
Bump org.springframework.boot:spring-boot-starter-parent from 3.1.4 to 3.1.5 in /deps/rabbitmq_auth_backend_http/examples/rabbitmq_auth_backend_spring_boot
2023-10-19 14:15:37 -04:00
dependabot[bot] 348629401c
Bump org.springframework.boot:spring-boot-starter-parent
Bumps [org.springframework.boot:spring-boot-starter-parent](https://github.com/spring-projects/spring-boot) from 3.1.4 to 3.1.5.
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](https://github.com/spring-projects/spring-boot/compare/v3.1.4...v3.1.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-19 18:13:50 +00:00
Michael Klishin a8872fde32
Merge pull request #9737 from rabbitmq/rabbitmq-server-9733
rabbitmq.conf: restrict raft.segment_max_entries to [1; (u16 max value -1)]
2023-10-19 13:58:38 -04:00
Michael Klishin e87a3995c5
Closes #9733 2023-10-19 11:27:14 -04:00
Michael Klishin c374a424cf
3.12.7 release notes: remove an unintentionally copied line from 3.12.5 release notes 2023-10-19 09:23:45 -04:00
Rin Kuryloski 4c4b2d1208
Merge pull request #9707 from rabbitmq/rin/use-rules_erlang-3.13.0
Use rules_erlang 3.13.1
2023-10-19 09:30:05 +02:00
Rin Kuryloski d5386e0a90 Resolve additional sources for coverage 2023-10-17 11:22:36 -04:00
Rin Kuryloski 231465f35e Use rules_erlang 3.13.1
This version of rules_erlang adds coverage support

Bazel has sort of standardized on lcov for coverage, so that is what
we use.

Example:
1. `bazel coverage //deps/rabbit:eunit -t-`
2. `genhtml --output genhtml "$(bazel info
output_path)/_coverage/_coverage_report.dat"`
3. `open genhtml/index.html`

Multiple tests can be run with results aggregated, i.e. `bazel
coverage //deps/rabbit:all -t-`

Running coverage with RBE has a lot of caveats,
https://bazel.build/configure/coverage#remote-execution, so the above
commands won't work as is with RBE.
2023-10-17 11:22:36 -04:00
Michael Klishin f4e64235a8
Update 3.12.7 release notes 2023-10-17 11:18:57 -04:00
Michael Klishin 368f3ef0df
Merge pull request #9715 from rabbitmq/mgmt-get-msg-nack
Actually nack when using 'Nack message requeue true'
2023-10-17 10:48:47 -04:00
Michael Klishin 6a8bb5562d
Merge pull request #9717 from rabbitmq/mk-3.11.24-release-notes
3.11.24 release notes
2023-10-17 10:13:22 -04:00
Michael Klishin 9ba3262aa1
3.11.24 release notes 2023-10-17 10:12:44 -04:00
Karl Nilsson 1ba62a90f2 Actually nack when using 'Nack message requeue true'
Option in mgmt UI.
2023-10-17 14:12:09 +01:00
Jean-Sébastien Pédron 549a87cde5
Merge pull request #9682 from rabbitmq/fix-feature-flags-reset-during-join_cluster
rabbit_db: Copy feature states early when joining a cluster
2023-10-17 12:58:49 +02:00
Jean-Sébastien Pédron f95ccafb5e
rabbit_db: Copy feature states early when joining a cluster
[Why]
So far, the feature states were copied from the cluster after the actual
join. However, the join may have reloaded the feature flags registry,
using the previous on-disk record, defeating the purpose of copying the
cluster's states.

This was done in this order to have a simpler error handling.

[How]
This time, we copy the remote cluster's feature states just after the
reset.

If the join fails, we reset the feature flags again, including the
on-disk states.
2023-10-17 09:38:12 +02:00
Jean-Sébastien Pédron 59cddde69b
rabbit_feature_flags: Add `reset/0` which also deletes the states on disk
[Why]
Sometimes, we need to reset the in-memory registry only, like when we
restart the `rabbit` application, not the whole Erlang node. However,
sometimes, we also need to delete the feature states on disk. This is
the case when a node joins a cluster.

[How]
We expose a new `reset/0` function which covers both the in-memory and
on-disk states.

This will be used in a follow-up commit to correctly reset the feature
flags states in `rabbit_db_cluster:join/2`.
2023-10-17 09:38:12 +02:00
Jean-Sébastien Pédron 86e5431c74
rabbit_feature_flags: Remove `feature_flags` file as part of a reset
[Why]
`reset_registry/0` reset the in-memory states so far, but left the
on-disk record. This is inconsistent.

[How]
After resetting the in-memory states, we remove the file on disk.
2023-10-17 09:38:12 +02:00
Jean-Sébastien Pédron a98637e248
rabbit_node_monitor: Don't monitor partitioned nodes when using Khepri
[Why]
This relies on Mnesia and is only useful when using Mnesia. Indeed,
there is no partition handling when Khepri is used.
2023-10-17 09:38:12 +02:00
Jean-Sébastien Pédron f571b86692
rabbit_khepri: Remove Mnesia files after migration
[Why]
When a Khepri-based node joins a Mnesia-based cluster, it is reset and
switches back from Khepri to Mnesia. If there are Mnesia files left in
its data directory, Mnesia will restart with stale/incorrect data and
the operation will fail.

After a migration to Khepri, we need to make sure there is no stale
Mnesia files.

[How]
We use `rabbit_mnesia` to query the Mnesia files and delete them.
2023-10-17 09:38:12 +02:00
Jean-Sébastien Pédron cfdf9dc94e
rabbit_khepri: Fix incorrect log level
This is probably the result of a copy-paste.
2023-10-17 09:38:07 +02:00
Michael Klishin 6009a4973f
Merge pull request #9708 from rabbitmq/mk-limit-max-http-api-payload-size
Introduce a configurable limit to HTTP API request body size
2023-10-16 21:49:50 -04:00
Michael Klishin 087794dded
HTTP API: adapt publishing tests
to take the newly introduced 10 MiB default body size limit
into account.
2023-10-16 19:14:16 -04:00
Michael Klishin 46a566b224
Merge pull request #9706 from rabbitmq/rin/fix-bazel-make-divergence
Fixup bazel/make divergence
2023-10-16 17:31:29 -04:00
Michael Klishin 2f992a996a
Merge pull request #9705 from rabbitmq/use-right-queue-name-in-amqp-10-suite
AMQP 1.0 tests - declare correct stream names for each test
2023-10-16 12:15:50 -04:00
Rin Kuryloski 887f215545 Add mnesia to LOCAL_DEPS in rabbitmq_jms_topic_exchange
it is present in the Bazel build, and if removed from the bazel side
causes :dialyze to fail
2023-10-16 18:10:50 +02:00
Rin Kuryloski 8404f0b478 Add osiris to rabbitmq_stream_management deps in Make 2023-10-16 17:38:50 +02:00
Rin Kuryloski 558b8d03f4 Remove mnesia from rabbitmq_management_agent deps in bazel
it's not required and is not listed in the LOCAL_DEPS in the Makefile
2023-10-16 17:37:54 +02:00
Karl Nilsson d7a4bf377a AMQP 1.0 tests - declare correct stream names for each test
Else tests can't be run individually, only as a group.
2023-10-16 16:17:36 +01:00
Rin Kuryloski 3e8101536a Remove mnesia from rabbitmq_management_agent deps in bazel
it's not required and is not listed in the LOCAL_DEPS in the Makefile
2023-10-16 16:34:26 +02:00
Rin Kuryloski 513e2668c5 Add khepri to rabbitmq_recent_history_exchange deps 2023-10-16 16:22:11 +02:00
Rin Kuryloski e4eaf0b806 Add khepri to rabbitmq_jms_topic_exchange deps 2023-10-16 16:21:23 +02:00
Rin Kuryloski ac1e6cc1cb Add khepri dep to rabbitmq_consistent_hash_exchange in Make 2023-10-16 16:20:18 +02:00
Rin Kuryloski fe07f4c930 Always reference seshat 0.6.1
Which is code-wise identical to 0.6.0
2023-10-16 16:17:44 +02:00
Michael Klishin c6d0382be4
Reduce default HTTP API request body size limit to 10 MiB
per discussion with the team.

It should be enough to accomodate a definition file with about
100K queues.
2023-10-16 06:48:23 -04:00
David Ansari 89f87c2d56
Update README.md 2023-10-15 16:00:19 +02:00
Michael Klishin 42181faee8
Merge pull request #9701 from rabbitmq/bump-elixir-1.15
Adopt elixir 1.15.7
2023-10-15 05:58:40 -04:00
GitHub 117cffb0f6 Adopt elixir 1.15.7 2023-10-15 03:05:00 +00:00
Michael Klishin b7b3514bb1
Introduce HTTP request body limit for definition uploads
The default is 20 MiB, which is enough to upload
a definition file with 200K queues, a few virtual host
and a few users. In other words, it should accomodate
a lot of environments.
2023-10-14 06:11:01 -04:00
Michael Klishin d9fc5ea75f
Update 3.12.7 release notes 2023-10-14 01:58:08 -04:00
Michael Klishin acdb9c5ae4
Merge pull request #9698 from rabbitmq/osiris-v1.6.9
Osiris v1.6.9
2023-10-13 15:57:19 -04:00
Karl Nilsson 2494dbf678 Osiris v1.6.9
This contains a fix for a situation where a replica may not discover
the current commit offset until the next entry is written to the
stream.

Should help with a frequent flake in rabbit_stream_queue_SUITE:add_replicas
2023-10-13 12:01:57 +01:00
Michael Klishin 203bdf45ae
Merge pull request #9692 from rabbitmq/bump-otp-25.3
Adopt otp 25.3.2.7
2023-10-12 23:20:37 -04:00
Michael Klishin c10a15a7d3
Merge pull request #9693 from rabbitmq/bump-otp-26.1
Adopt otp 26.1.2
2023-10-12 23:20:29 -04:00
GitHub b250d36388 Adopt otp 26.1.2 2023-10-13 03:07:34 +00:00
GitHub b79314e371 Adopt otp 25.3.2.7 2023-10-13 03:07:01 +00:00
Michael Klishin d173bf6df5
Merge pull request #9687 from rabbitmq/mk-update-3.12.7-release-notes
Update 3.12.7 release notes
2023-10-11 23:35:58 -04:00
Michael Klishin 52a8165c09
One more 3.12.7 release notes update 2023-10-11 23:35:33 -04:00
Michael Klishin 5e64eddcb8
3.12.7 release notes update 2023-10-11 23:31:47 -04:00