You are viewing a plain text version of this content. The canonical link for it is here.
Posted to builds@kvrocks.apache.org by GitBox <gi...@apache.org> on 2026/08/10 02:21:29 UTC

[GH] (kvrocks/fix-xgroup-entries-read-clamp): Workflow run "CI" failed!

The GitHub Actions job "CI" on kvrocks.git/fix-xgroup-entries-read-clamp has failed.
Run started by GitHub user wengsht (triggered by jihuayu).

Head commit for run:
18ffc982797833ea051b6e688f05b7b72d0fa634 / Shitao Weng <sh...@tbean.ai>
fix(stream): match Redis XINFO GROUPS lag when the group is behind the stream head

lag is entries_added - entries_read on an unsigned field. When the group's
last-delivered-id is behind the first live entry (a group created at 0, or one
whose entries_read was set inconsistently via XGROUP SETID/ENTRIESREAD),
trusting entries_read yields a wrong or underflowing lag.

Mirror Redis streamReplyWithCGLag: when the cursor and the max tombstone are
both behind the first entry, report lag = current stream length; and report
lag = 0 for an emptied stream. XINFO GROUPS lag now matches Redis exactly.

Report URL: https://github.com/apache/kvrocks/actions/runs/31327272144

With regards,
GitHub Actions via GitBox