mirror of
https://github.com/minio/minio.git
synced 2025-11-07 12:52:58 -05:00
reload from drive tier-config when in-memory cache is not found (#19527)
avoid probing tier target while reloading() tier config
This commit is contained in:
@@ -143,13 +143,9 @@ type jentry struct {
|
||||
}
|
||||
|
||||
func deleteObjectFromRemoteTier(ctx context.Context, objName, rvID, tierName string) error {
|
||||
w, err := globalTierConfigMgr.getDriver(tierName)
|
||||
w, err := globalTierConfigMgr.getDriver(ctx, tierName)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
err = w.Remove(ctx, objName, remoteVersionID(rvID))
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
return nil
|
||||
return w.Remove(ctx, objName, remoteVersionID(rvID))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user