Skip to content

Commit

Permalink
etcdserver: call refreshRangePermCache on Recover() in AuthStore.
Browse files Browse the repository at this point in the history
  • Loading branch information
veshij committed Oct 11, 2022
1 parent 920eb20 commit 3e87c74
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 @@ -386,6 +386,7 @@ func (as *authStore) Recover(be AuthBackend) {

enabled := tx.UnsafeReadAuthEnabled()
as.setRevision(tx.UnsafeReadAuthRevision())
as.refreshRangePermCache(tx)

tx.Unlock()

Expand Down

0 comments on commit 3e87c74

Please sign in to comment.