Skip to content

Commit

Permalink
fix repair queue (#2405)
Browse files Browse the repository at this point in the history
(cherry picked from commit fb66867)
  • Loading branch information
littleskunk committed Jul 2, 2019
1 parent 6d15631 commit 8fbcf2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/storage/segments/repairer.go
Expand Up @@ -84,7 +84,7 @@ func (repairer *Repairer) Repair(ctx context.Context, path storj.Path) (err erro
// repair not needed
if int32(numHealthy) > pointer.Remote.Redundancy.RepairThreshold {
mon.Meter("repair_unnecessary").Mark(1)
return Error.New("segment %v with %d pieces above repair threshold %d", path, numHealthy, pointer.Remote.Redundancy.RepairThreshold)
return nil
}

healthyRatioBeforeRepair := 0.0
Expand Down

1 comment on commit 8fbcf2c

@storjrobot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This commit has been mentioned on Storj Labs Community Forum: Decentralized Cloud Storage. There might be relevant details there:

https://forum.storj.io/t/v0-14-6-changelog-satellite-only/340/1

Please sign in to comment.