Skip to content

Commit 0e54925

Browse files
authored
DOC-4015 RS: Fix rladmin tune db typo & describe replica buffer options (#782)
1 parent b260558 commit 0e54925

File tree

1 file changed

+2
-2
lines changed
  • content/operate/rs/references/cli-utilities/rladmin

1 file changed

+2
-2
lines changed

content/operate/rs/references/cli-utilities/rladmin/tune.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ Configures database parameters.
105105
106106
``` sh
107107
rladmin tune db { db:<id> | <name> }
108-
[ slave_buffer <valueMG | hard:soft:time> ]
108+
[ slave_buffer <auto | valueMB | hard:soft:time> ]
109109
[ client_buffer <value> ]
110110
[ repl_backlog <valueMB | auto> ]
111111
[ crdt_repl_backlog <valueMB | auto> ]
@@ -181,7 +181,7 @@ rladmin tune db { db:<id> | <name> }
181181
| resp3 | `enabled`<br /> `disabled` | Enables or deactivates RESP3 support (defaults to `enabled`) |
182182
| schedpolicy | `cmp`<br /> `mru`<br /> `spread`<br /> `mnp` | Controls how server-side connections are used when forwarding traffic to shards |
183183
| skip_import_analyze | `enabled`<br /> `disabled` | Skips the analyzing step when importing a database |
184-
| slave_buffer | value in MB<br /> hard:soft:time | Redis replica output buffer limits |
184+
| slave_buffer | `auto`<br />value in MB<br /> hard:soft:time | Redis replica output buffer limits<br />`auto`: dynamically adjusts the buffer limit based on the shard’s current used memory<br />• value in MB: sets the buffer limit in MB<br />• hard:soft:time: sets the hard limit (maximum buffer size in MB), soft limit in MB, and the time in seconds that the soft limit can be exceeded |
185185
| slave_ha | `enabled`<br /> `disabled` | Activates or deactivates replica high availability (defaults to the cluster setting) |
186186
| slave_ha_priority | integer | Priority of the database in the replica high-availability mechanism |
187187
| syncer_mode | `distributed`<br /> `centralized`| Configures syncer to run in distributed or centralized mode. For distributed syncer, the DMC policy must be all-nodes or all-master-nodes |

0 commit comments

Comments
 (0)