repairer: monitor non-nil limit amount

Change-Id: I1a7b7a4a6716783449704cd8a7823090109a14de
This commit is contained in:
JT Olio 2019-10-12 22:57:22 -06:00 committed by Storj Robot
parent f834622a01
commit 5b0cada4b3

View File

@ -87,6 +87,8 @@ func (ec *ECRepairer) Get(ctx context.Context, limits []*pb.AddressedOrderLimit,
return nil, FetchResultReport{}, Error.New("number of non-nil limits (%d) is less than requested result count (%d)", nonNilCount(limits), es.RequiredCount()+minFailures)
}
mon.IntVal("ECRepairer_Get_nonNilLimits").Observe(int64(nonNilLimits))
pieceSize := eestream.CalcPieceSize(dataSize, es)
errorCount := 0