-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Under sustained overload, the throughput probing admission controller cannot reduce concurrency even when doing so would relieve contention. We have seen this in a number of customer outages, as well as a recently produced availability workload involving high CPU background index builds: the prober continues probing up despite increasing latency and degradation of actual database throughput.
In kStable, the up-branch fires whenever any pool is below max and "exhausted" (peakUsed >= outof). With a backlog or high in-flight occupancy, exhaustion is essentially always true, making the down-branch unreachable. The one escape (probing down from the ceiling) immediately reverses: the next tick is below max and still exhausted, so the controller probes up again, oscillating just below max rather than converging to a lower optimum.
queued() only measures operations waiting at the ticket semaphore. Under contention collapse, operations pile up while holding tickets (on locks, storage-engine resources, or due to cache pressure) so ticket queuing stays near zero while peakUsed >= outof triggers easily from high hold times. The controller misreads high in-flight occupancy as under-provisioned capacity and admits more work into the already-contended region, worsening saturation.