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:
Poorna Krishnamoorthy
2021-04-15 16:32:00 -07:00
committed by GitHub
parent 75ac4ea840
commit d30c5d1cf0
4 changed files with 53 additions and 36 deletions

View File

@@ -122,6 +122,7 @@ const (
ObjectReplicationType Type = 1 + iota
DeleteReplicationType
MetadataReplicationType
HealReplicationType
)
// ObjectOpts provides information to deduce whether replication