heal: Persist MRF queue in the disk during shutdown (#19410)

This commit is contained in:
Anis Eleuch
2024-08-13 23:26:05 +01:00
committed by GitHub
parent e7a56f35b9
commit 51b1f41518
10 changed files with 649 additions and 84 deletions

View File

@@ -1409,13 +1409,13 @@ func (er erasureObjects) CompleteMultipartUpload(ctx context.Context, bucket str
}
if !opts.Speedtest && len(versions) > 0 {
globalMRFState.addPartialOp(partialOperation{
bucket: bucket,
object: object,
queued: time.Now(),
versions: versions,
setIndex: er.setIndex,
poolIndex: er.poolIndex,
globalMRFState.addPartialOp(PartialOperation{
Bucket: bucket,
Object: object,
Queued: time.Now(),
Versions: versions,
SetIndex: er.setIndex,
PoolIndex: er.poolIndex,
})
}