The GitHub Actions job "Misspell Check" on 
rocketmq.git/codex/pop-retry-lag-latency has failed.
Run started by GitHub user iloveeyjafjalla (triggered by iloveeyjafjalla).

Head commit for run:
f76375d7345a43679c92a76d8a7163a225e0c94b / iloveeyjafjalla <[email protected]>
[ISSUE #11389] fix(broker): normalize the missing-timestamp sentinel in the POP 
lag stats

ConsumerLagCalculator#getConsumerLagStats uses Long.MAX_VALUE as the "no
timestamp" sentinel and normalizes it at the end of the regular path, but the
early return for a missing topic returned it unchanged. CalculateLagResult
derives the latency as now - timestamp, so a POP group whose retry topic does 
not
exist yet (processAllGroup passes a null retry topic then) recorded
now - Long.MAX_VALUE, about -9.2e18 milliseconds, into
rocketmq_consumer_lag_latency; getInFlightMsgStats had the same early return
feeding rocketmq_consumer_queueing_latency.

Normalize the sentinel to 0 in both early returns, like the regular path does.

Report URL: https://github.com/apache/rocketmq/actions/runs/38336149280

With regards,
GitHub Actions via GitBox

Reply via email to