Commit Graph

159 Commits

Author SHA1 Message Date
GitHub c81778d379 Adopt otp 25.3.2.2 2023-06-08 03:09:38 +00:00
GitHub 22fffd458c Adopt otp 25.3.2.1 2023-05-31 03:21:40 +00:00
Rin Kuryloski 218db9e21b Add looking_glass 2023-05-30 10:10:42 +02:00
Michal Kuratczyk fb3655610c
Update CSV to 3.0.5;; remove unused dep 2023-05-26 18:04:42 +02:00
Rin Kuryloski 0d859415c7
Merge pull request #8298 from rabbitmq/rin/latest-rules-erlang
Use the latest rules_erlang
2023-05-24 15:07:56 +02:00
Rin Kuryloski 5c4c0a2d64 Use the latest rules_erlang
which should restore `gazelle-update-repos` to a working state again
2023-05-24 10:11:57 +02:00
Rin Kuryloski ad03e31543 Add bazel build info for syslog dep
This allows building `@syslog//:erlang_app` on windows
2023-05-23 17:15:28 +02:00
GitHub 84791ee4ec Adopt elixir 1.14.5 2023-05-23 03:04:42 +00:00
Michal Kuratczyk 0ec6ccc903
OTP26.0-rc3 -> final; OTP master is 27 2023-05-22 08:38:03 +02:00
Rin Kuryloski 56aab34fb5 Use erlang 26.0 instead of rc3 in bazel 2023-05-17 15:45:26 +02:00
Rin Kuryloski 6fe4ba18dd Use the latest rules_erlang 2023-05-16 14:11:57 +02:00
Rin Kuryloski eb94a58bc9 Add a workflow to compare the bazel/erlang.mk output
To catch any drift between the builds
2023-05-15 13:54:14 +02:00
Rin Kuryloski dad871e86c Update rules_pkg to 0.9.1 2023-05-12 12:45:01 +02:00
Rin Kuryloski 92b0a81c60 Use rules_erlang 3.10.0 2023-05-12 08:41:01 +02:00
Michael Klishin c9c6730cc5 Pin Ra to 2.6.1 2023-05-12 01:48:47 +04:00
Michael Klishin 441a77f6d0 Pin Ra to 2.6.0-pre.1 2023-05-11 23:25:58 +04:00
GitHub 817808b9ef Adopt otp 25.3.2 2023-05-06 03:05:31 +00:00
Michael Klishin 2d51c8c99b Bump Osiris to 1.5.1 2023-05-05 00:09:45 +04:00
Michal Kuratczyk 48086bfec9
Bump credentials_obfuscation to 3.4.0 2023-05-04 15:31:01 +02:00
Loïc Hoguin e6e68fcb0b
Update Cowboy to 2.10.0 for OTP-26
We already were using Cowlib 2.12.1 and therefore were
compatible with OTP-26. This simply updates Cowboy to
the version that depends on Cowlib 2.12.1.
2023-04-28 15:34:12 +02:00
GitHub 13d5bb2329 Adopt otp 25.3.1 2023-04-28 03:14:13 +00:00
Michal Kuratczyk cff2c65302
Use emqtt from the otp-26-compatibility branch 2023-04-26 11:06:23 +02:00
Michal Kuratczyk 858ed1bff6
Switch to an emqtt fork/branch for OTP26
This change should be reverted once emqx/emqtt is OTP26 compatible.
Our fork/branch isn't either at this point, but at least partially
works. Let's use this branch for now to uncover server-side OTP26
incompatibilities (and continue working on OTP26 support for emqtt of
course).
2023-04-26 11:06:23 +02:00
GitHub 1b8c4b258d Adopt elixir 1.14.4 2023-04-26 07:12:03 +00:00
Rin Kuryloski 09af4fdd25 Use rules_erlang 3.9.14 2023-04-25 16:15:36 +02:00
Rin Kuryloski 854d01d9a5 Restore the original -include_lib statements from before #6466
since this broke erlang_ls

requires rules_erlang 3.9.13
2023-04-20 12:40:45 +02:00
Rin Kuryloski 2bb0b42c85 Add OTP 26.0-rc3 config to bazel 2023-04-14 18:23:33 +02:00
Rin Kuryloski 42268d8c75 Use rules_erlang 3.9.12 which has the new plt attrs 2023-04-14 11:41:37 +02:00
Rin Kuryloski 12153ed823 Fetch github.com/hexpm/hex via bzlmod
This fixes a visibility issue when a bazel module depends on
rabbitmq-server
2023-04-13 09:45:28 +02:00
Rin Kuryloski f09b31e8c5
Fetch all cli deps with bazel (#7875)
* Fetch all prod cli deps with bazel

This avoids issues with hex and OTP 26, and is needed for offline
bazel builds anyway

* Fetch test cli deps with bazel

* mix format
2023-04-12 16:27:32 +04:00
Michael Klishin ac89309a9c
Merge pull request #7846 from rabbitmq/stream-at-most-once-dead-lettering
Streams: make at-most-once dead lettering work
2023-04-05 19:42:26 +04:00
Arnaud Cogoluègnes 70af1c4607
Merge pull request #7827 from rabbitmq/qq-return-crash
Quorum queues: avoid potential crash when returning message.
2023-04-05 16:56:55 +02:00
Karl Nilsson e7d7f6f225 Streams: make at-most-once dead lettering to work
Previously osiris did not support uncorrelated writes which means
we could not use a "stateless" queue type delivery and these were
silently dropped.

This had the impact that at-most-once dead letter was not possible
where the dead letter target is a stream.

This change bumps the osiris version that has the required API
to allow for uncorrelated writes (osiris:write/2).

Currently there is no feature flag to control this as osiris writer
processes just logs and drops any messages they don't understand.
2023-04-05 15:34:22 +01:00
Arnaud Cogoluègnes cdf4ec5944
Use Ra 2.5.1 2023-04-05 15:37:20 +02:00
Michael Klishin b26b371f21
Merge pull request #7821 from rabbitmq/lh-update-ct-helper
Update ct_helper
2023-04-04 21:52:46 +04:00
Karl Nilsson 01f6d0fc19 Quorum queues: avoid potential crash when returning message.
Returns reaching a Ra member that used to be leader but now has stepped
down would cause that follower to crash and restart.

This commit avoids this scenario as well as giving the return commands
a good chance of being resent to the new leader in a timeley manner.
(see the Ra release for this).
2023-04-04 16:02:26 +01:00
Loïc Hoguin 53c6d19434
Update ct_helper
Since ct_helper removes erl_make_certs some tests needed
to be updated to use public_key:pkix_test_data/1 instead.
2023-04-04 13:01:33 +02:00
Loïc Hoguin 31a84183e5
Update Cowlib to 2.12.1
This fixes a compilation error with OTP-26.
2023-04-04 09:19:00 +02:00
Michael Davis fb48d4623c bazel: Pin ct_helper 2023-03-30 21:13:32 +04:00
Rin Kuryloski 8b08bff908 Remove "dev_dependency = True" from erlang_dev_package in MODULE
deps/rabbitmq_ct_helpers depends on proper and meck, so unfortunately
if proper and meck are marked as dev dependencies, bazel modules
depending on rabbitmq-server cannot build it

Another way of putting it is that they are not actually "dev"
dependencies of for all components that rabbitmq-server exposes
2023-03-16 08:45:57 +01:00
Rin Kuryloski eba1d531c9 Fetch cli prod deps via bazel or erlang.mk instead of mix
In preparation for offline bazel builds
2023-03-14 23:11:36 +01:00
Karl Nilsson 36c2417bac Ra 2.5.0
This Ra release includes improvements to Ra server GC behaviour when receiving a lot
of low priority commands with large binary payloads (e.g. quorum queue messages).

Practically this allows quorum queues to accept large amounts of messages in a more predicatble and performant manner.

This change also removes ra_file_handle cache that was used as a bridge between ra file operations and RabbitMQ io metrics. Lots of components in RabbitMQ such as streams and CQv2s do not record io metrics in the previous manner due to overhead incurred for every file io operation. These metrics are better inspected at the OS level anyway.
2023-03-09 14:20:21 +00:00
Rin Kuryloski 3ebfa257e2 Add OTP 25.3 to the build and CI matrix as otp-max 2023-03-08 15:21:27 +01:00
GitHub e6b781c14b Adopt elixir 1.13.4 2023-03-02 03:11:34 +00:00
Rin Kuryloski 778ee998a6 Further annotate test deps with new rules_erlang 3.9.9 features 2023-02-28 16:47:02 +01:00
Rin Kuryloski faaf78bbed Mark test deps as dev_dependency in MODULE.bazel
This keeps other modules depending on rabbitmq-server from inheriting
these deps
2023-02-28 12:44:45 +01:00
Karl Nilsson 59a9069fba Update Ra to 2.4.9
This Ra release
    * Omproves election availability in certain mixed versions failure
      scenarios
    * Optimises segment reference compaction which may becomes expensive
      in quorum queues with very long backlogs
    * Various log message improvements and level tweaks
    * Better cleans up machine monitor records after quorum queue rebalancing
2023-02-22 08:26:34 +00:00
David Ansari bf2a97a20a Bump emqx/emqtt to 1.8.2 2023-02-21 17:25:19 +01:00
GitHub 209a815af7 Adopt otp 25.2.3 2023-02-18 03:05:21 +00:00
Rin Kuryloski 2dc0236101 Regenerate bazel/BUILD.eetcd with the latest rules_erlang
`bazel run gazelle -- update-repos --verbose --build_files_dir=bazel
hex.pm/eetcd@0.3.6`

Related to #7196
2023-02-15 15:35:51 +01:00