Skip to content
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

xautoclaim fails to decode request in there are no messages to claim #217

Closed
qnikst opened this issue Nov 22, 2023 · 0 comments · Fixed by #218
Closed

xautoclaim fails to decode request in there are no messages to claim #217

qnikst opened this issue Nov 22, 2023 · 0 comments · Fixed by #218
Assignees
Labels
Milestone

Comments

@qnikst
Copy link
Collaborator

qnikst commented Nov 22, 2023

Calling xautoclaimOpts on an empty stream leads to an exception:

RedisException {redisExceptionReply = MultiBulk (Just [Bulk (Just "0-0"),MultiBulk (Just [])]), 

Debug in redis:

host> XAUTOCLAIM stream group consumer 60000 0-0
1) "0-0"
2) (empty list or set)
3) (empty list or set)

Version of redis: redis_version:7.0.14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant