Merge pull request #14358 from vivekpatani/main

server/auth: refresh cache on each NewAuthStore
This commit is contained in:
Hitoshi Mitake
2022-08-27 11:13:59 +09:00
committed by GitHub
3 changed files with 162 additions and 0 deletions

View File

@@ -965,6 +965,8 @@ func NewAuthStore(lg *zap.Logger, be AuthBackend, tp TokenProvider, bcryptCost i
as.setupMetricsReporter()
as.refreshRangePermCache(tx)
tx.Unlock()
be.ForceCommit()