etcdserver: add auth revision to AuthStatus to improve observability and testability

This commit is contained in:
shawwang
2020-03-02 02:25:54 +08:00
parent c6fce8c320
commit 15eeb2c4ae
9 changed files with 382 additions and 247 deletions

View File

@@ -1731,6 +1731,11 @@
"etcdserverpbAuthStatusResponse": {
"type": "object",
"properties": {
"authRevision": {
"type": "string",
"format": "uint64",
"title": "authRevision is the current revision of auth store"
},
"enabled": {
"type": "boolean",
"format": "boolean"