mirror of
https://github.com/minio/minio.git
synced 2024-12-25 06:35:56 -05:00
replication: Include replica object versions for resync (#15427)
This commit is contained in:
parent
2f1ef02d35
commit
5e0776e96a
@ -1805,6 +1805,7 @@ func (c replicationConfig) Resync(ctx context.Context, oi ObjectInfo, dsc *Repli
|
|||||||
objInfo.VersionPurgeStatusInternal = ""
|
objInfo.VersionPurgeStatusInternal = ""
|
||||||
objInfo.ReplicationStatus = ""
|
objInfo.ReplicationStatus = ""
|
||||||
objInfo.VersionPurgeStatus = ""
|
objInfo.VersionPurgeStatus = ""
|
||||||
|
delete(objInfo.UserDefined, xhttp.AmzBucketReplicationStatus)
|
||||||
resyncdsc := mustReplicate(ctx, oi.Bucket, oi.Name, getMustReplicateOptions(objInfo, replication.ExistingObjectReplicationType, ObjectOptions{}))
|
resyncdsc := mustReplicate(ctx, oi.Bucket, oi.Name, getMustReplicateOptions(objInfo, replication.ExistingObjectReplicationType, ObjectOptions{}))
|
||||||
dsc = &resyncdsc
|
dsc = &resyncdsc
|
||||||
return c.resync(oi, dsc, tgtStatuses)
|
return c.resync(oi, dsc, tgtStatuses)
|
||||||
|
Loading…
Reference in New Issue
Block a user