Fix replication status reported on completion (#11273)

Fixes: #11272
This commit is contained in:
Poorna Krishnamoorthy authored and GitHub committed 2021-01-13 11:52:28 -08:00
1 parent 628ef081d1
commit feaf8dfb9a
5 files changed
+8 -8

No files matched your search

+1 -1
View File
@@ -993,7 +993,7 @@ func (i *crawlItem) healReplication(ctx context.Context, o ObjectLayer, oi Objec
case replication.Failed:
sizeS.failedSize += oi.Size
globalReplicationState.queueReplicaTask(oi)
case replication.Complete:
case replication.Completed, "COMPLETE":
sizeS.replicatedSize += oi.Size
case replication.Replica:
sizeS.replicaSize += oi.Size