Fix replication status reported on completion (#11273)

Fixes: #11272
This commit is contained in:
Poorna Krishnamoorthy
2021-01-13 11:52:28 -08:00
committed by GitHub
parent 628ef081d1
commit feaf8dfb9a
5 changed files with 8 additions and 8 deletions
+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