Loïc Hoguin
21619bba40
make: Fix circular dependency
...
Running "make -C deps/rabbit ct-feature_flags_v2" on a clean
repository would not work due to a circular dependency. Since
the plugin in question is a no-op in 4.x, only used in tests,
we make the plugin depend on nothing to avoid the issue.
2024-06-20 11:56:08 +02:00
Rin Kuryloski
3465eef2cd
Use the latest rules_erlang & rules_elixir
2024-06-20 11:13:02 +02:00
Lois Soto Lopez
30ecf6af75
fix: bring back schema mapping
...
Issue #11315
2024-06-20 09:53:30 +02:00
Michael Klishin
0d3363857f
Merge pull request #11503 from rabbitmq/gazelle-main
...
bazel run gazelle
2024-06-20 00:14:56 -04:00
GitHub
24bfab3453
bazel run gazelle
2024-06-20 04:02:18 +00:00
Michael Klishin
5beaa3d912
bazel/BUILD.horus: do not include license files
...
for now, because they are not included into
Horus releases.
See rabbitmq/horus#22 .
2024-06-19 23:20:22 -04:00
Karl Nilsson
077c027d52
MQTT: speed up shared_SUITE:many_qos1_messages ( #11477 )
...
* MQTT: speed up shared_SUITE:many_qos1_messages
* speed up block_only_publisher
* MQTT: reorganise tests groups
To avoid starting a new broker for each protocol group (v3,v4,v5).
Instead we run all protocol groups under a single cluster configuration
group.
* MQTT: speed up publish_to_all_queue_types_qos* tests.
* Remove separate mnesia_store group
to speed up the test suite
* Fix wrong_shard_count
* Remove unused field
* Run subset of v3 tests
The code being tested under v3 and v4 is almost identical.
To save time in CI, we therefore run only a very small subset of tests in v3.
This cuts the total time reported by CT for the shared_SUITE from 898
seconds to 614 seconds.
Also, the java_SUITE tests in v3.
* Fix wrong_shard_count
* Fix mixed version failure
---------
Co-authored-by: David Ansari <david.ansari@gmx.de>
2024-06-19 20:02:33 +02:00
Michael Klishin
806efd8c65
Merge pull request #11468 from rabbitmq/dependabot/github_actions/main/docker/build-push-action-6
...
build(deps): bump docker/build-push-action from 5 to 6
2024-06-19 13:21:12 -04:00
Loïc Hoguin
5bf2b678c8
Merge pull request #11486 from rabbitmq/loic-fix-make-full1-regression
...
make: Don't propagate FULL=1 to "make test-dist"
2024-06-19 16:25:33 +02:00
Michael Klishin
2979ff99ee
Merge pull request #11490 from rabbitmq/vhost-test-flake
...
Deflake vhost_is_created_with_default_user
2024-06-19 10:10:57 -04:00
Michal Kuratczyk
27f735f49e
Use emqx/emqtt instead of a fork ( #11479 )
...
* Use emqx/emqtt instead of a fork
* Specify SNI in test connections (otherwise OTP26 secure TLS defaults make some tests fail)
2024-06-19 14:03:30 +02:00
Michal Kuratczyk
489de21a76
Deflake vhost_is_created_with_default_user
...
This test relied on the order of items
in the list of users returned and would crash
with `case_clause` if `guest` was returned first.
2024-06-19 13:52:56 +02:00
Rin Kuryloski
71fa6e3d31
Merge pull request #11478 from rabbitmq/more-turn-off-buildbuddy
...
Remove remaining buildbuddy usage
2024-06-19 12:47:34 +02:00
Loïc Hoguin
c79ae49b5a
make: Don't propagate FULL=1 to "make test-dist"
...
Both FULL and MAKEFLAGS env variables need to be unset
as FULL=1 is present in both. This is a bit of a band-aid,
it's possible that other variables get propagated that
shouldn't be, but we'll fix them when they are detected.
2024-06-19 11:02:06 +02:00
Rin Kuryloski
b59da95c2d
Merge pull request #11456 from rabbitmq/rin/rules_elixir
...
Use rules_elixir for rabbitmqctl
2024-06-19 10:57:41 +02:00
Michael Klishin
60337eb8d0
Merge pull request #11482 from rabbitmq/dependabot/github_actions/main/peter-evans/create-pull-request-6.1.0
...
build(deps): bump peter-evans/create-pull-request from 6.0.5 to 6.1.0
2024-06-18 15:47:24 -04:00
dependabot[bot]
b50f2ce991
build(deps): bump peter-evans/create-pull-request from 6.0.5 to 6.1.0
...
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request ) from 6.0.5 to 6.1.0.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases )
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v6.0.5...v6.1.0 )
---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-06-18 19:00:10 +00:00
Rin Kuryloski
46250dce11
ensure that csv and json elixir deps are embedded in the cli escript
...
also set 'cfg =' appropriately
2024-06-18 16:50:02 +02:00
Rin Kuryloski
a2709dfd05
Remove remaining buildbuddy usage
2024-06-18 15:13:03 +02:00
Rin Kuryloski
5fc8a8cb9a
use the latest rules_erlang
...
which fixes and issue with escript_archive that was breaking the rabbitmqctl escript
2024-06-18 14:50:35 +02:00
Rin Kuryloski
a6b3916a9c
use the latest bazel_skylib
2024-06-18 14:50:35 +02:00
Rin Kuryloski
f2add661f4
Check that the cli can compile with --warnings-as-errors in ci
...
It's technically a build target, so we didn't need to create a whole
new test rule, but it's marked as "manual" so that it doesn't cause
bazel build //... to fail
2024-06-18 14:50:35 +02:00
Rin Kuryloski
662ad8edf4
amqp_client system_SUITE apparently needs the cli on the code path
...
I'm not actually sure why the changes to rabbitmqctl compilation
necessitated this change, but it seems to be the case
2024-06-18 14:50:35 +02:00
Rin Kuryloski
ba8cf2c2f7
Set the locale with elixir
2024-06-18 14:50:34 +02:00
Rin Kuryloski
35171ebdeb
Add erlang binaries to the path in rabbitmq-run.sh
...
As they are no longer added automatically by the enclosing rule
2024-06-18 14:50:34 +02:00
Rin Kuryloski
5debebfaf3
Use rules_elixir to build the cli without mix
...
Certain elixir-native deps are still build with mix, but this can be
corrected later
2024-06-18 14:50:34 +02:00
Karl Nilsson
817bb64b54
Merge pull request #11473 from rabbitmq/add-bazel-cache-flag
...
Maybe reduce cache errors
2024-06-18 12:58:03 +01:00
Rin Kuryloski
b5b7605219
Maybe reduce cache errors
...
- https://bazel.build/reference/command-line-reference#flag--experimental_guard_against_concurrent_changes
2024-06-18 12:06:29 +02:00
Arnaud Cogoluègnes
6c1f96a826
Merge pull request #11470 from rabbitmq/bump-maven-to-3-9-8
...
Bump Maven to 3.9.8 in Java test suites
2024-06-18 11:47:59 +02:00
Arnaud Cogoluègnes
a52b8c0eb3
Bump Maven to 3.9.8 in Java test suites
2024-06-18 08:55:19 +02:00
Michal Kuratczyk
41a4d1711d
OTP27 support ( #11366 )
...
* "maybe" is now a keyword
* Bump horus to 0.2.5 and switch to hex
* Get rid of some deprecated callbacks/functions
2024-06-18 07:32:58 +02:00
Michael Klishin
c9a593f444
Merge pull request #11447 from rabbitmq/ra-2.11.0
...
Ra v2.11.0
2024-06-17 15:44:37 -04:00
dependabot[bot]
c3b0cd884c
build(deps): bump docker/build-push-action from 5 to 6
...
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 5 to 6.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: docker/build-push-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-06-17 18:26:22 +00:00
Karl Nilsson
1abf7a3886
Upgrade maven for MQTT java tests. ( #11465 )
2024-06-17 19:06:40 +02:00
Karl Nilsson
fdaef55213
Ra v2.11.0
...
This release includes a new machine API `snapshot_installed/2`. This new
API will only be used indirectly through khepri.
This release also includes an performance improvement that reduces the chances
of building a large WAL mailbox backlog when a node is low on scheduling
resources and commands are committed by followers completing writes to disk
before the leader.
There is also a fix for a potential election deadlock.
2024-06-17 15:43:12 +01:00
Loïc Hoguin
d959c8a43d
Merge pull request #11112 from rabbitmq/loic-faster-cq-shared-store-gc
...
4.x: Additional CQv2 message store optimisations
2024-06-17 15:30:25 +02:00
Michael Klishin
d2c7739aef
Merge pull request #11460 from rabbitmq/dependabot/maven/deps/rabbitmq_stream_management/test/http_SUITE_data/main/org.apache.maven.plugins-maven-surefire-plugin-3.3.0
2024-06-14 19:32:52 -04:00
Michael Klishin
e5bd3cc7c9
Merge pull request #11459 from rabbitmq/dependabot/maven/deps/rabbitmq_stream/test/rabbit_stream_SUITE_data/main/org.apache.maven.plugins-maven-surefire-plugin-3.3.0
...
build(deps): bump org.apache.maven.plugins:maven-surefire-plugin from 3.2.5 to 3.3.0 in /deps/rabbitmq_stream/test/rabbit_stream_SUITE_data
2024-06-14 15:58:25 -04:00
dependabot[bot]
fa945c0779
build(deps): bump org.apache.maven.plugins:maven-surefire-plugin
...
Bumps [org.apache.maven.plugins:maven-surefire-plugin](https://github.com/apache/maven-surefire ) from 3.2.5 to 3.3.0.
- [Release notes](https://github.com/apache/maven-surefire/releases )
- [Commits](https://github.com/apache/maven-surefire/compare/surefire-3.2.5...surefire-3.3.0 )
---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-surefire-plugin
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-06-14 18:56:08 +00:00
dependabot[bot]
45fb5b3570
build(deps): bump org.apache.maven.plugins:maven-surefire-plugin
...
Bumps [org.apache.maven.plugins:maven-surefire-plugin](https://github.com/apache/maven-surefire ) from 3.2.5 to 3.3.0.
- [Release notes](https://github.com/apache/maven-surefire/releases )
- [Commits](https://github.com/apache/maven-surefire/compare/surefire-3.2.5...surefire-3.3.0 )
---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-surefire-plugin
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-06-14 18:21:30 +00:00
Michael Klishin
c4afa23298
Merge pull request #11458 from rabbitmq/dependabot/maven/deps/rabbitmq_mqtt/test/java_SUITE_data/main/org.apache.maven.plugins-maven-surefire-plugin-3.3.0
...
build(deps): bump org.apache.maven.plugins:maven-surefire-plugin from 3.2.5 to 3.3.0 in /deps/rabbitmq_mqtt/test/java_SUITE_data
2024-06-14 14:20:37 -04:00
dependabot[bot]
9bf8e13159
build(deps): bump org.apache.maven.plugins:maven-surefire-plugin
...
Bumps [org.apache.maven.plugins:maven-surefire-plugin](https://github.com/apache/maven-surefire ) from 3.2.5 to 3.3.0.
- [Release notes](https://github.com/apache/maven-surefire/releases )
- [Commits](https://github.com/apache/maven-surefire/compare/surefire-3.2.5...surefire-3.3.0 )
---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-surefire-plugin
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-06-14 18:11:00 +00:00
Michael Klishin
6605a7330f
Merge pull request #11455 from rabbitmq/default-max-message-size
...
Reduce default maximum message size to 16MB
2024-06-14 13:49:26 -04:00
Diana Parra Corbacho
c11b812ef6
Reduce default maximum message size to 16MB
2024-06-14 11:55:03 +02:00
Loïc Hoguin
cc73b86e80
CQ: Remove rabbit_msg_store.hrl
...
It is no longer needed as only a single module uses it.
2024-06-14 11:52:03 +02:00
Loïc Hoguin
41ce4da5ca
CQ: Remove ability to change shared store index module
...
It will always use the ETS index. This change lets us
do optimisations that would otherwise not be possible,
including 81b2c39834953d9e1bd28938b7a6e472498fdf13.
A small functional change is included in this commit:
we now always use ets:update_counter to update the
ref_count, instead of a mix of update_{counter,fields}.
When upgrading to 4.0, the index will be rebuilt for
all users that were using a custom index module.
2024-06-14 11:52:03 +02:00
Loïc Hoguin
d45fbc3da4
CQ: Write large messages into their own files
2024-06-14 11:52:03 +02:00
Loïc Hoguin
18acc01a47
CQ: Make dirty recovery of shared store more efficient
...
This only applies to v2 because modifying this part of the v1
code is seen as too risky considering v1 will soon get removed.
2024-06-14 11:52:03 +02:00
Michael Klishin
17237986a0
Merge pull request #11419 from rabbitmq/ibm-mq-docker-workflow
...
Build IBM MQ docker image with AMQP built-in capability
2024-06-13 13:53:46 -04:00
Jean-Sébastien Pédron
3968f8e1fe
Merge pull request #11414 from rabbitmq/ff-controller-block-startup-v2
...
Avoid deadlock on terminating ff controller
2024-06-13 17:31:54 +02:00