You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/operate/rs/references/rest-api/requests/shards/actions/failover.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,8 +56,8 @@ The request body is a JSON object that can contain the following fields:
56
56
| Field | Type | Description |
57
57
|-------|------|-------------|
58
58
| shard_uids | array of strings | List of primary shard UIDs to fail over. The shards must belong to the same database. |
59
-
| dead_uids | array of strings | Primary shards that need not to be killed. Optional. |
60
-
| dead_nodes | array of strings| Nodes that should need not to be drained or used for promoted replica shards. Optional. |
59
+
| dead_uids | array of strings | Primary shards to avoid stopping. Optional. |
60
+
| dead_nodes | array of strings | Nodes that should not be drained or used for promoted replica shards. Optional. |
61
61
| dry_run | boolean | Determines whether the failover is actually done. If true, will just do a dry run. If the dry run succeeds, the request returns a `200 OK` status code. Otherwise, it returns a JSON object with an error code and description. Optional. |
62
62
| force_rebind | boolean | Rebind after promotion. Optional. |
63
63
| redis_version_upgrade | string | New version of the promoted primary shards. Optional. |
@@ -143,8 +143,8 @@ The request body is a JSON object that can contain the following fields:
143
143
144
144
| Field | Type | Description |
145
145
|-------|------|-------------|
146
-
| dead_uid | string | Primary shard that needs not to be killed. Optional. |
147
-
| dead_nodes | array of strings | Nodes that should need not to be drained or used for promoted replica shard. Optional. |
| dead_nodes | array of strings | Nodes that should not be drained or used for promoted replica shards. Optional. |
148
148
| dry_run | boolean | Determines whether the failover is actually done. If true, will just do a dry run. If the dry run succeeds, the request returns a `200 OK` status code. Otherwise, it returns a JSON object with an error code and description. Optional. |
149
149
| force_rebind | boolean | Rebind after promotion. Optional. |
150
150
| redis_version_upgrade | string | New version of the promoted primary shards. Optional. |
0 commit comments