You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: For loadBalance=p2c, responseTrigger (which calls upstream.getInflight().decrementAndGet()) is wired only via .doOnSuccess(...).doOnError(...). There is no .doOnCancel(...)/.doFinally(...). When the downstream subscriber cancels before terminal signal (client disconnect, timeout cancellation), neither onSuccess nor onError fires, so the decrement never runs. inflight ratchets upward forever.
impact: Persistent inflight inflation on client disconnects; affected upstream is increasingly starved by p2c.
suggested_fix: Replace .doOnSuccess(...).doOnError(...) with .doFinally(sig -> ...) (or add .doOnCancel(...)).
shenyu-plugin/shenyu-plugin-proxy/shenyu-plugin-divide/src/main/java/org/apache/shenyu/plugin/divide/DividePlugin.java:133-135loadBalance=p2c,responseTrigger(which callsupstream.getInflight().decrementAndGet()) is wired only via.doOnSuccess(...).doOnError(...). There is no.doOnCancel(...)/.doFinally(...). When the downstream subscriber cancels before terminal signal (client disconnect, timeout cancellation), neitheronSuccessnoronErrorfires, so the decrement never runs.inflightratchets upward forever..doOnSuccess(...).doOnError(...)with.doFinally(sig -> ...)(or add.doOnCancel(...)).beginTimerace, not the p2c inflight leak.Identified during the 2026-08-02 deep re-scan; full list in
docs/scan2-2026-08-02/06-medium-tiers.md.