Skip to content

Commit db39c68

Browse files
kjnilssonmergify[bot]
authored andcommitted
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 5b2da75)
1 parent 4a6ce9a commit db39c68

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
@@ -488,12 +488,14 @@ quantile_estimator:
488488
ra:
489489
- ra
490490
- ra_app
491+
- ra_aux
491492
- ra_bench
492493
- ra_counters
493494
- ra_dbg
494495
- ra_directory
495496
- ra_env
496497
- ra_ets_queue
498+
- ra_file
497499
- ra_file_handle
498500
- ra_flru
499501
- ra_leaderboard
@@ -522,6 +524,7 @@ ra:
522524
- ra_snapshot
523525
- ra_sup
524526
- ra_system
527+
- ra_system_recover
525528
- ra_system_sup
526529
- ra_systems_sup
527530
rabbit:

rabbitmq-components.mk

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

0 commit comments

Comments
 (0)