Add method to check for probe goal reached (#3253)

* Check for early probe end

* use old packets for probing

* fmt
This commit is contained in:
Raja Subramanian
2024-12-15 23:34:07 +05:30
committed by GitHub
parent cfe3178542
commit be65d24333
8 changed files with 54 additions and 22 deletions
-1
View File
@@ -578,7 +578,6 @@ func (c *Cluster) MarshalLogObject(e zapcore.ObjectEncoder) error {
e.AddObject("info", c.info)
e.AddDuration("baseSleepDuration", c.baseSleepDuration)
e.AddInt("numBuckets", len(c.buckets))
e.AddArray("buckets", logger.ObjectSlice(c.buckets))
e.AddInt("bucketIdx", c.bucketIdx)
e.AddInt("probeBytesSent", c.probeBytesSent)
e.AddTime("startTime", c.startTime)