Skip to content

Commit 3f99787

Browse files
committed
Edit parameter descriptions
1 parent fdd6299 commit 3f99787

File tree

1 file changed

+4
-4
lines changed
  • content/operate/rs/references/rest-api/requests/shards/actions

1 file changed

+4
-4
lines changed

content/operate/rs/references/rest-api/requests/shards/actions/failover.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ The request body is a JSON object that can contain the following fields:
5656
| Field | Type | Description |
5757
|-------|------|-------------|
5858
| 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. |
6161
| 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. |
6262
| force_rebind | boolean | Rebind after promotion. Optional. |
6363
| 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:
143143

144144
| Field | Type | Description |
145145
|-------|------|-------------|
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. |
146+
| dead_uid | string | Primary shard to avoid stopping. Optional. |
147+
| dead_nodes | array of strings | Nodes that should not be drained or used for promoted replica shards. Optional. |
148148
| 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. |
149149
| force_rebind | boolean | Rebind after promotion. Optional. |
150150
| redis_version_upgrade | string | New version of the promoted primary shards. Optional. |

0 commit comments

Comments
 (0)