Skip to content

Conversation

@i18nsite
Copy link
Contributor

@i18nsite i18nsite commented Dec 1, 2025


English / 中文

English

Description

This PR fixes a bug in the XPENDING command where the end_id was incorrectly parsed using the start_id. This issue caused incorrect results when querying pending entries with a specific range.

Fixes #3276

中文

描述

此 PR 修复了 XPENDING 命令中的一个 bug,该 bug 导致在解析 end_id 时错误地使用了 start_id。这个问题会导致在指定范围查询待处理条目时结果不正确。

修复 #3276

@PragmaTwice PragmaTwice changed the title fix(stream): use correct end_id in XPENDING command (#3276) fix(stream): use correct end_id in XPENDING command Dec 1, 2025
The XPENDING command was incorrectly using the start_id instead of the end_id
when parsing the range arguments. This caused incorrect filtering of pending
entries when a range was specified.

This commit fixes the issue by passing the correct end_id to the
ParseStreamEntryID function.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[bug] xpending not include the end

3 participants