mirror of
https://github.com/minio/minio.git
synced 2025-11-07 12:52:58 -05:00
Add IAM (re)load timing logs (#19984)
This is useful to debug large IAM load times - the usual cause is when there are a large amount of temporary accounts.
This commit is contained in:
committed by
GitHub
parent
22c5a5b91b
commit
602f6a9ad0
@@ -554,7 +554,7 @@ func (store *IAMStoreSys) LoadIAMCache(ctx context.Context, firstTime bool) erro
|
||||
return err
|
||||
}
|
||||
} else {
|
||||
|
||||
// Only non-object IAM store (i.e. only etcd backend).
|
||||
bootstrapTraceMsgFirstTime("loading policy documents")
|
||||
if err := store.loadPolicyDocs(ctx, newCache.iamPolicyDocsMap); err != nil {
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user