Skip to content

Commit f23f093

Browse files
authored
Add the new remaining_repl_size field in CLUSTER GETSLOTMIGRATIONS (valkey-io#406)
See valkey-io/valkey#3135 Signed-off-by: Binbin <binloveplay1314@qq.com>
1 parent f0567c1 commit f23f093

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

commands/cluster-getslotmigrations.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ The following information is reported for each slot migration entry:
4444
available.
4545
- `cow_size`: The copy-on-write overhead accumulated while the migration was
4646
in progress, in bytes.
47+
- `remaining_repl_size`: The number of bytes remaining in the source node's
48+
output buffer that are pending to be sent to the target node during slot
49+
migration. Added in Valkey 9.1.
4750

4851
## Examples
4952

@@ -73,6 +76,8 @@ The following information is reported for each slot migration entry:
7376
20) ""
7477
21) "cow_size"
7578
22) (integer) 0
79+
23) "remaining_repl_size"
80+
24) (integer) 0
7681
```
7782

7883
### Response in RESP 3
@@ -90,4 +95,5 @@ The following information is reported for each slot migration entry:
9095
9# "state" => "success"
9196
10# "message" => ""
9297
11# "cow_size" => (integer) 0
98+
12# "remaining_repl_size" => (integer) 0
9399
```

0 commit comments

Comments
 (0)