Skip to content

Commit 5b2da75

Browse files
committed
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
1 parent 9fbc0fb commit 5b2da75

File tree

4 files changed

+12
-3
lines changed

4 files changed

+12
-3
lines changed

MODULE.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -349,8 +349,8 @@ erlang_package.hex_package(
349349
name = "ra",
350350
build_file = "@rabbitmq-server//bazel:BUILD.ra",
351351
pkg = "ra",
352-
sha256 = "ee7f63461e9b1734e99a7d38cb601803dc0868f015672d795857fa329287288c",
353-
version = "2.9.1",
352+
sha256 = "0c9c02e8db48a9ed8f9b56e3b105dc25c72fde01c3dc07e2dc4f0618545595cd",
353+
version = "2.10.0",
354354
)
355355

356356
erlang_package.git_package(

bazel/BUILD.ra

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,14 @@ erlang_bytecode(
3838
srcs = [
3939
"src/ra.erl",
4040
"src/ra_app.erl",
41+
"src/ra_aux.erl",
4142
"src/ra_bench.erl",
4243
"src/ra_counters.erl",
4344
"src/ra_dbg.erl",
4445
"src/ra_directory.erl",
4546
"src/ra_env.erl",
4647
"src/ra_ets_queue.erl",
48+
"src/ra_file.erl",
4749
"src/ra_file_handle.erl",
4850
"src/ra_flru.erl",
4951
"src/ra_leaderboard.erl",
@@ -70,6 +72,7 @@ erlang_bytecode(
7072
"src/ra_server_sup_sup.erl",
7173
"src/ra_sup.erl",
7274
"src/ra_system.erl",
75+
"src/ra_system_recover.erl",
7376
"src/ra_system_sup.erl",
7477
"src/ra_systems_sup.erl",
7578
],
@@ -97,12 +100,14 @@ filegroup(
97100
"src/ra.app.src",
98101
"src/ra.erl",
99102
"src/ra_app.erl",
103+
"src/ra_aux.erl",
100104
"src/ra_bench.erl",
101105
"src/ra_counters.erl",
102106
"src/ra_dbg.erl",
103107
"src/ra_directory.erl",
104108
"src/ra_env.erl",
105109
"src/ra_ets_queue.erl",
110+
"src/ra_file.erl",
106111
"src/ra_file_handle.erl",
107112
"src/ra_flru.erl",
108113
"src/ra_leaderboard.erl",
@@ -131,6 +136,7 @@ filegroup(
131136
"src/ra_snapshot.erl",
132137
"src/ra_sup.erl",
133138
"src/ra_system.erl",
139+
"src/ra_system_recover.erl",
134140
"src/ra_system_sup.erl",
135141
"src/ra_systems_sup.erl",
136142
],

moduleindex.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -489,12 +489,14 @@ quantile_estimator:
489489
ra:
490490
- ra
491491
- ra_app
492+
- ra_aux
492493
- ra_bench
493494
- ra_counters
494495
- ra_dbg
495496
- ra_directory
496497
- ra_env
497498
- ra_ets_queue
499+
- ra_file
498500
- ra_file_handle
499501
- ra_flru
500502
- ra_leaderboard
@@ -523,6 +525,7 @@ ra:
523525
- ra_snapshot
524526
- ra_sup
525527
- ra_system
528+
- ra_system_recover
526529
- ra_system_sup
527530
- ra_systems_sup
528531
rabbit:

rabbitmq-components.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ dep_khepri = hex 0.13.0
122122
dep_khepri_mnesia_migration = hex 0.4.0
123123
dep_looking_glass = git https://github.com/rabbitmq/looking_glass.git main
124124
dep_prometheus = hex 4.11.0
125-
dep_ra = hex 2.9.1
125+
dep_ra = hex 2.10.0
126126
dep_ranch = hex 2.1.0
127127
dep_recon = hex 2.5.3
128128
dep_redbug = hex 2.0.7

0 commit comments

Comments
 (0)