-
Notifications
You must be signed in to change notification settings - Fork 987
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XREADGROUP skips messages if body is nil #1622
Comments
mp911de
added a commit
that referenced
this issue
Mar 4, 2021
mp911de
added a commit
that referenced
this issue
Mar 4, 2021
mp911de
added a commit
that referenced
this issue
Mar 4, 2021
That issue happens only when using RESP2. That's fixed now. |
This was referenced Mar 16, 2021
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Report
Current Behavior
I have a capped stream and a consumer has read messages and did no acknowledge. Then those messages got trimmed, but they remain in PEL of the consumer. Lettuce seems to return items skipping like if body nil fooled it
then I run the same reading command in lettuce
In the last line the log reports the first and the last read message ID
after the messages are processed and acknowledged I check the PEL in redis-cli again
You can see that every even message remained in the PEL and every odd is gone.
Expected behavior/code
I would assume that the xreadgroup should return all messages like the redis-cli does. I also do not know any good way of bringing down the PEL to 0 other than doing it log2 times
Environment
The text was updated successfully, but these errors were encountered: