You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Command XREAD returns empty list when COUNT is bigger than count of messages in stream. However, in redis python sdk it works another way (it returns all messages from the stream)
Oh, sorry, it returns empty list, not None. My mistake
sveta-afanaseva
changed the title
XREAD command returns None if count is bigger than number of messages
XREAD command returns empty list if count is bigger than number of messages
Dec 5, 2023
Describe the bug
Command XREAD returns empty list when COUNT is bigger than count of messages in stream. However, in redis python sdk it works another way (it returns all messages from the stream)
Some proofs
https://github.com/redis/redis-py/blob/emb-examples/doctests/dt_stream.py#L43
https://redis.io/docs/data-types/streams/
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Expected list of all messages in stream
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: