Commit 48825ac
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 48825ac
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 | |
|---|---|---|---|
| |||
741 | 741 | | |
742 | 742 | | |
743 | 743 | | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
744 | 748 | | |
745 | 749 | | |
746 | 750 | | |
| |||
| 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 | |
|---|---|---|---|
| |||
1071 | 1071 | | |
1072 | 1072 | | |
1073 | 1073 | | |
| 1074 | + | |
| 1075 | + | |
| 1076 | + | |
| 1077 | + | |
| 1078 | + | |
| 1079 | + | |
| 1080 | + | |
1074 | 1081 | | |
1075 | 1082 | | |
1076 | 1083 | | |
| |||
0 commit comments