mirror of
https://github.com/minio/minio.git
synced 2024-12-23 21:55:53 -05:00
Set free-version id in case of version/version-suspended buckets (#12982)
This free-version id may be used to track tiered object contents of the object (version) being deleted.
This commit is contained in:
parent
ef4d023c85
commit
b7e3651d3c
@ -1065,6 +1065,7 @@ func (er erasureObjects) DeleteObjects(ctx context.Context, bucket string, objec
|
||||
DeleteMarkerReplicationStatus: objects[i].DeleteMarkerReplicationStatus,
|
||||
VersionPurgeStatus: objects[i].VersionPurgeStatus,
|
||||
}
|
||||
versions[i].SetTierFreeVersionID(mustGetUUID())
|
||||
if opts.Versioned {
|
||||
versions[i].VersionID = uuid
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user