DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.
| Table of Contents |
|---|
Status
Current state: VotingAccepted
Discussion thread: https://lists.apache.org/thread/ko478l71jf9hqhhg328tcdr46nj2wcz9
...
--- a/clients/src/main/resources/common/message/AddRaftVoterRequest.json
+++ b/clients/src/main/resources/common/message/AddRaftVoterRequest.json
@@ -18,7 +18,8 @@
"type": "request",
"listeners": ["controller", "broker"],
"name": "AddRaftVoterRequest",
- "validVersions": "0",
+ // Version 1 adds the AckWhenCommitted field.
+ "validVersions": "0-1",
"flexibleVersions": "0+",
"fields": [
{ "name": "ClusterId", "type": "string", "versions": "0+", "nullableVersions": "0+",
@@ -37,6 +38,8 @@
"about": "The hostname." },
{ "name": "Port", "type": "uint16", "versions": "0+",
"about": "The port." }
- ]}
+ ]},
+ { "name": "AckWhenCommitted", "type": "bool", "versions": "1+", "default": "true",
+ "about": "When true, return a response after the new voter set is committed. Otherwise, return after the leader writes the changes locally." }
]
The default value of AckWhenCommitted will be true to preserve the intuitive UX of the RPC for the operator. When AckWhenCommitted is set to false , the AddRaftVoterRequest RPC does not guarantee that the new voter set has been committed upon receiving a response, and may require retries.
Compatibility, Deprecation, and Migration Plan
...