mirror of
https://github.com/pgsty/minio.git
synced 2026-07-22 05:30:24 +03:00
Avoid metadata update for incoming replication failure (#12054)
This is an optimization to save IOPS. The replication failures will be re-queued once more to re-attempt replication. If it still does not succeed, the replication status is set as `FAILED` and will be caught up on scanner cycle.
This commit is contained in:
committed by
GitHub
parent
75ac4ea840
commit
d30c5d1cf0
@@ -220,6 +220,13 @@ func (o ObjectInfo) Clone() (cinfo ObjectInfo) {
|
||||
return cinfo
|
||||
}
|
||||
|
||||
// ReplicateObjectInfo represents object info to be replicated
|
||||
type ReplicateObjectInfo struct {
|
||||
ObjectInfo
|
||||
OpType replication.Type
|
||||
RetryCount uint32
|
||||
}
|
||||
|
||||
// MultipartInfo captures metadata information about the uploadId
|
||||
// this data structure is used primarily for some internal purposes
|
||||
// for verifying upload type such as was the upload
|
||||
|
||||
Reference in New Issue
Block a user