Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

placement rules: add a role "voter" #11797

Merged
merged 1 commit into from
Dec 29, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
placement rules: add a role "voter"
Signed-off-by: Aolin <aolin.zhang@pingcap.com>
  • Loading branch information
Oreoxmt committed Dec 29, 2022
commit 712952199789aa39f3450b138b0adc90ccd36ae2
2 changes: 1 addition & 1 deletion configure-placement-rules.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ The following table shows the meaning of each field in a rule:
| `Override` | `true`/`false` | Whether to overwrite rules with smaller index (in a group). |
| `StartKey` | `string`, in hexadecimal form | Applies to the starting key of a range. |
| `EndKey` | `string`, in hexadecimal form | Applies to the ending key of a range. |
| `Role` | `string` | Replica roles, including leader/follower/learner. |
| `Role` | `string` | Replica roles, including voter/leader/follower/learner. |
| `Count` | `int`, positive integer | The number of replicas. |
| `LabelConstraint` | `[]Constraint` | Filters nodes based on the label. |
| `LocationLabels` | `[]string` | Used for physical isolation. |
Expand Down