repairer: monitor non-nil limit amount
Change-Id: I1a7b7a4a6716783449704cd8a7823090109a14de
This commit is contained in:
parent
f834622a01
commit
5b0cada4b3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user