overlay/batch: remove end-of-batch debug scaffolding

The Warn("==== end of batch ====") delimiter (and the `logged` flag that
fed it) was left over from debugging the cross-slot gap logging.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
JackDoan
2026-07-27 15:26:45 -05:00
parent be35d4f059
commit c06bfb46be
-5
View File
@@ -450,7 +450,6 @@ func (c *TCPCoalescer) reorderForFlush() {
runStart = i + 1
}
out := c.slots[:0]
logged := false
for _, s := range c.slots {
if n := len(out); n > 0 {
prev := out[n-1]
@@ -463,7 +462,6 @@ func (c *TCPCoalescer) reorderForFlush() {
// gap via its OOO queue.
if c.l.Enabled(context.Background(), slog.LevelDebug) {
if prev.nextSeq != slotSeedSeq(s) {
logged = true
gap := int64(slotSeedSeq(s)) - int64(prev.nextSeq)
c.l.Debug("tcp coalesce: cross-slot seq gap",
"src", flowKeyAddr(s.fk, false),
@@ -489,9 +487,6 @@ func (c *TCPCoalescer) reorderForFlush() {
}
out = append(out, s)
}
if logged {
c.l.Warn("==== end of batch ====")
}
c.slots = out
}