mirror of
https://github.com/minio/minio.git
synced 2025-11-20 18:06:10 -05:00
Don't exit background append if backend specific files show up (#7519)
This commit is contained in:
committed by
kannappanr
parent
f409f10d18
commit
35ef5eb236
@@ -98,9 +98,8 @@ func (fs *FSObjects) backgroundAppend(ctx context.Context, bucket, object, uploa
|
||||
}
|
||||
partNumber, etag, actualSize, err := fs.decodePartFile(entry)
|
||||
if err != nil {
|
||||
logger.GetReqInfo(ctx).AppendTags("entry", entry)
|
||||
logger.LogIf(ctx, err)
|
||||
return
|
||||
// Skip part files whose name don't match expected format. These could be backend filesystem specific files.
|
||||
continue
|
||||
}
|
||||
if partNumber < nextPartNumber {
|
||||
// Part already appended.
|
||||
@@ -389,8 +388,8 @@ func (fs *FSObjects) ListObjectParts(ctx context.Context, bucket, object, upload
|
||||
}
|
||||
partNumber, etag1, _, derr := fs.decodePartFile(entry)
|
||||
if derr != nil {
|
||||
logger.LogIf(ctx, derr)
|
||||
return result, toObjectErr(derr)
|
||||
// Skip part files whose name don't match expected format. These could be backend filesystem specific files.
|
||||
continue
|
||||
}
|
||||
etag2, ok := partsMap[partNumber]
|
||||
if !ok {
|
||||
|
||||
Reference in New Issue
Block a user