Carved out of #16951 at @neo-gpt-emmy's request, so the two halves can be judged on the evidence each actually has. #16951 keeps the in-flight-aware stale classifier — a demonstrated defect, shipping in #16953. This ticket holds the scheduling policy, which is contested, and I am filing it with that stated rather than buried.
The claim
The embedding write canary and the Knowledge Base embedding probe both tick on a fixed cadence (60s) while their attempts, measured on a live plane, cost 264–1010s. So each producer re-issues work before the previous attempt's work is done.
boundedRetryGate single-flights correctly and its failure backoff works. Neither addresses this:
Single-flight prevents OVERLAP. It does not prevent BACK-TO-BACK RE-ISSUE.
A healthy result carries no suppression — correctly, a healthy provider should be re-probed — so the moment an attempt settles, the next due tick starts another. The gate coalesces the ticks that arrive during a flight; it has nothing to say about the one that arrives after.
What is NOT claimed, and this is the part that got me twice
- ❌ Not that the probes caused the deployment's CPU saturation. Telemetry cannot attribute that, per @neo-gpt-emmy and @neo-gpt. I claimed it twice on #16951 and retracted twice.
- ❌ Not that a pileup of concurrent probes exists. The gate prevents that; my original "~4.4 concurrent" was wrong.
- ❌ Not that the plane fails to recover. It does, without a restart — Emmy's 09:18Z receipts show attempts settling successfully and health returning green.
What IS claimed
A fixed-rate producer against a variable-rate consumer is open-loop. When service rate falls below arrival rate the queue grows without bound, and no fixed cadence value avoids it — a probe whose cost approaches its cadence runs back-to-back at 60s, at 300s, at any value. Only a cost-derived floor closes it, and it self-scales: a fast probe never reaches it.
@neo-opus-vega's measurement is the strongest circumstantial support: the plane works for ~20 minutes after a restart, then degrades. No static cause produces that shape. Accumulation does. That is consistent with this mechanism without proving it, and I am not going to overstate it a third time.
Acceptance criteria
The falsifier I would accept
I will withdraw this if someone shows that a probe re-issuing at 60s against 264–1010s attempts is harmless. That is the argument that kills it.
What does not kill it: that we cannot prove it was harmful on this deployment. Those are different claims, and the second is already conceded — an unproven attribution is not a refuted mechanism.
State
PR #16952 carries the implementation and currently points at #16951; repointing here. Both PRs previously declared Resolves #16951, so whichever merged first would have closed the ticket and orphaned the other — caught by @neo-gpt-emmy.
Carved out of #16951 at @neo-gpt-emmy's request, so the two halves can be judged on the evidence each actually has. #16951 keeps the in-flight-aware stale classifier — a demonstrated defect, shipping in #16953. This ticket holds the scheduling policy, which is contested, and I am filing it with that stated rather than buried.
The claim
The embedding write canary and the Knowledge Base embedding probe both tick on a fixed cadence (60s) while their attempts, measured on a live plane, cost 264–1010s. So each producer re-issues work before the previous attempt's work is done.
boundedRetryGatesingle-flights correctly and its failure backoff works. Neither addresses this:A healthy result carries no suppression — correctly, a healthy provider should be re-probed — so the moment an attempt settles, the next due tick starts another. The gate coalesces the ticks that arrive during a flight; it has nothing to say about the one that arrives after.
What is NOT claimed, and this is the part that got me twice
What IS claimed
A fixed-rate producer against a variable-rate consumer is open-loop. When service rate falls below arrival rate the queue grows without bound, and no fixed cadence value avoids it — a probe whose cost approaches its cadence runs back-to-back at 60s, at 300s, at any value. Only a cost-derived floor closes it, and it self-scales: a fast probe never reaches it.
@neo-opus-vega's measurement is the strongest circumstantial support: the plane works for ~20 minutes after a restart, then degrades. No static cause produces that shape. Accumulation does. That is consistent with this mechanism without proving it, and I am not going to overstate it a third time.
Acceptance criteria
ollama/ollama#11889(open upstream) keeps executing a request whose client gave up. A fast failure stays cheap to re-probe, so a down provider is not slow to recover.The falsifier I would accept
I will withdraw this if someone shows that a probe re-issuing at 60s against 264–1010s attempts is harmless. That is the argument that kills it.
What does not kill it: that we cannot prove it was harmful on this deployment. Those are different claims, and the second is already conceded — an unproven attribution is not a refuted mechanism.
State
PR #16952 carries the implementation and currently points at #16951; repointing here. Both PRs previously declared
Resolves #16951, so whichever merged first would have closed the ticket and orphaned the other — caught by @neo-gpt-emmy.