mirror of
https://github.com/minio/minio.git
synced 2026-11-25 23:23:49 +00:00
fix: inlined objects don't need to honor long locks (#17039)
This commit is contained in:
1 parent
18515a4e3b
commit
6825bd7e75
19 files changed
+97
-111
No files matched your search
@@ -838,10 +838,10 @@ func (z *erasureServerPools) decommissionPool(ctx context.Context, idx int, pool
|
||||
encodeDirObject(version.Name),
|
||||
nil,
|
||||
http.Header{},
|
||||
noLock, // all mutations are blocked reads are safe without locks.
|
||||
ObjectOptions{
|
||||
VersionID: version.VersionID,
|
||||
NoDecryption: true,
|
||||
NoLock: true,
|
||||
})
|
||||
if isErrObjectNotFound(err) || isErrVersionNotFound(err) {
|
||||
// object deleted by the application, nothing to do here we move on.
|
||||
|
||||
Reference in new issue
Block a user