Commit eacdd0c
committed
Make Ra segment_max_size_bytes configurable for quorum queues
Add support for configuring Ra's segment_max_size_bytes parameter via
rabbitmq.conf as raft.segment_max_size_bytes. This allows operators to
control the maximum size of Raft log segment files for quorum queues.
The configuration:
- Maps quorum_queue.segment_max_size_bytes in rabbitmq.conf to
rabbit.quorum_segment_max_size_bytes in the application environment
- Defaults to Ra's built-in default of 64 MB when not configured
- Is explicitly applied to the quorum_queues Ra system configuration
for transparency and maintainability
Also add a macro QUORUM_DEFAULT_SEGMENT_MAX_SIZE_B to align with Ra's
default value.1 parent 46431b4 commit eacdd0c
4 files changed
Lines changed: 29 additions & 0 deletions
File tree
- deps/rabbit
- docs
- priv/schema
- src
- test/config_schema_SUITE_data
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
487 | 487 | | |
488 | 488 | | |
489 | 489 | | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
490 | 494 | | |
491 | 495 | | |
492 | 496 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2754 | 2754 | | |
2755 | 2755 | | |
2756 | 2756 | | |
| 2757 | + | |
| 2758 | + | |
| 2759 | + | |
| 2760 | + | |
| 2761 | + | |
| 2762 | + | |
| 2763 | + | |
| 2764 | + | |
| 2765 | + | |
| 2766 | + | |
| 2767 | + | |
| 2768 | + | |
| 2769 | + | |
| 2770 | + | |
2757 | 2771 | | |
2758 | 2772 | | |
2759 | 2773 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
133 | 134 | | |
134 | 135 | | |
135 | 136 | | |
| 137 | + | |
| 138 | + | |
136 | 139 | | |
137 | 140 | | |
138 | 141 | | |
| |||
142 | 145 | | |
143 | 146 | | |
144 | 147 | | |
| 148 | + | |
145 | 149 | | |
146 | 150 | | |
147 | 151 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1160 | 1160 | | |
1161 | 1161 | | |
1162 | 1162 | | |
| 1163 | + | |
| 1164 | + | |
| 1165 | + | |
| 1166 | + | |
| 1167 | + | |
| 1168 | + | |
| 1169 | + | |
1163 | 1170 | | |
1164 | 1171 | | |
1165 | 1172 | | |
| |||
0 commit comments