Skip to content

Commit

Permalink
etcdserver: call refreshRangePermCache on Recover() in AuthStore. etc…
Browse files Browse the repository at this point in the history
…d-io#14574

Signed-off-by: Oleg Guba <oleg@dropbox.com>
Signed-off-by: Hitoshi Mitake <h.mitake@gmail.com>
  • Loading branch information
mitake authored and tjungblu committed Jul 26, 2023
1 parent faf4e87 commit 4e5ee2c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/auth/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,7 @@ func (as *authStore) Recover(be backend.Backend) {
}

as.setRevision(getRevision(tx))
as.refreshRangePermCache(tx)

tx.Unlock()

Expand Down

0 comments on commit 4e5ee2c

Please sign in to comment.