etcdserver: call refreshRangePermCache on Recover() in AuthStore

Signed-off-by: Oleg Guba <oleg@dropbox.com>
Signed-off-by: Hitoshi Mitake <h.mitake@gmail.com>
This commit is contained in:
Hitoshi Mitake 2022-10-29 13:55:06 +09:00
parent 0b3ff06868
commit b7a23311e6

View File

@ -402,6 +402,7 @@ func (as *authStore) Recover(be backend.Backend) {
}
as.setRevision(getRevision(tx))
as.refreshRangePermCache(tx)
tx.Unlock()