etcdserver: call refreshRangePermCache on Recover() in AuthStore. #14574

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:56:08 +09:00
parent efb9480b96
commit 1e96e0be38

View File

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