*: make MemberList linearizable

- Add linearizable field to etcdserverpb.MemberListRequest.
- Change behavior of clienv3 MemberList API. Now it is served with
linearizable guarantee.
This commit is contained in:
jingyih
2020-02-18 23:36:55 -08:00
parent 6325754d96
commit 0344b70906
8 changed files with 323 additions and 259 deletions

View File

@ -2365,7 +2365,13 @@
}
},
"etcdserverpbMemberListRequest": {
"type": "object"
"type": "object",
"properties": {
"linearizable": {
"type": "boolean",
"format": "boolean"
}
}
},
"etcdserverpbMemberListResponse": {
"type": "object",