Ra 2.10.0

This Ra release contains a number of fixes and improvements including:

* Much improved resiliency when Ra infrastructure such as the WAL or
segment writer encounters unexpected errors during disk operations.

It also includes the following features that are RabbitMQ does not
yet make use of (but will in the near future).

* Checkpoints: allow non truncating snapshots to be written
to allow faster recovery of quorum queues with long backlogs for example.
* Server recovery strategy configuration: allow dynamically started
ra servers to be optionally restarted.
* New handle_aux/5 callback with a better and safer API

(cherry picked from commit 5b2da75b5e)
This commit is contained in:
Karl Nilsson 2024-04-29 09:42:54 +01:00 committed by Mergify
parent 4a6ce9ac92
commit db39c68e45
4 changed files with 12 additions and 3 deletions

View File

@ -349,8 +349,8 @@ erlang_package.hex_package(
name = "ra",
build_file = "@rabbitmq-server//bazel:BUILD.ra",
pkg = "ra",
sha256 = "ee7f63461e9b1734e99a7d38cb601803dc0868f015672d795857fa329287288c",
version = "2.9.1",
sha256 = "0c9c02e8db48a9ed8f9b56e3b105dc25c72fde01c3dc07e2dc4f0618545595cd",
version = "2.10.0",
)
erlang_package.git_package(

View File

@ -38,12 +38,14 @@ erlang_bytecode(
srcs = [
"src/ra.erl",
"src/ra_app.erl",
"src/ra_aux.erl",
"src/ra_bench.erl",
"src/ra_counters.erl",
"src/ra_dbg.erl",
"src/ra_directory.erl",
"src/ra_env.erl",
"src/ra_ets_queue.erl",
"src/ra_file.erl",
"src/ra_file_handle.erl",
"src/ra_flru.erl",
"src/ra_leaderboard.erl",
@ -70,6 +72,7 @@ erlang_bytecode(
"src/ra_server_sup_sup.erl",
"src/ra_sup.erl",
"src/ra_system.erl",
"src/ra_system_recover.erl",
"src/ra_system_sup.erl",
"src/ra_systems_sup.erl",
],
@ -97,12 +100,14 @@ filegroup(
"src/ra.app.src",
"src/ra.erl",
"src/ra_app.erl",
"src/ra_aux.erl",
"src/ra_bench.erl",
"src/ra_counters.erl",
"src/ra_dbg.erl",
"src/ra_directory.erl",
"src/ra_env.erl",
"src/ra_ets_queue.erl",
"src/ra_file.erl",
"src/ra_file_handle.erl",
"src/ra_flru.erl",
"src/ra_leaderboard.erl",
@ -131,6 +136,7 @@ filegroup(
"src/ra_snapshot.erl",
"src/ra_sup.erl",
"src/ra_system.erl",
"src/ra_system_recover.erl",
"src/ra_system_sup.erl",
"src/ra_systems_sup.erl",
],

View File

@ -488,12 +488,14 @@ quantile_estimator:
ra:
- ra
- ra_app
- ra_aux
- ra_bench
- ra_counters
- ra_dbg
- ra_directory
- ra_env
- ra_ets_queue
- ra_file
- ra_file_handle
- ra_flru
- ra_leaderboard
@ -522,6 +524,7 @@ ra:
- ra_snapshot
- ra_sup
- ra_system
- ra_system_recover
- ra_system_sup
- ra_systems_sup
rabbit:

View File

@ -120,7 +120,7 @@ dep_khepri = hex 0.13.0
dep_khepri_mnesia_migration = hex 0.4.0
dep_looking_glass = git https://github.com/rabbitmq/looking_glass.git main
dep_prometheus = hex 4.11.0
dep_ra = hex 2.9.1
dep_ra = hex 2.10.0
dep_ranch = hex 2.1.0
dep_recon = hex 2.5.3
dep_redbug = hex 2.0.7