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

Error occur for XInfoStream command when using to a stream that dose not have items #1758

Closed
LaodaLuo opened this issue May 18, 2021 · 0 comments · Fixed by #1759
Closed

Comments

@LaodaLuo
Copy link

XInfoStream command for a stream does not have any item.

Expected Behavior

XInfoStream command should return stream info.

Current Behavior

It return an error: "Conn has unread data".

Steps to Reproduce

  1. Using XGroupCreateMkStream to create new stream XX that does not have items.
  2. Using XInfoStream to get info of XX, it return an error with "Conn has unread data".

Context (Environment)

github.com/go-redis/redis/v8 v8.8.3

monkey92t added a commit to monkey92t/redis that referenced this issue May 19, 2021
Signed-off-by: monkey92t <golang@88.com>
@monkey92t monkey92t mentioned this issue May 19, 2021
monkey92t added a commit that referenced this issue May 19, 2021
monkey92t added a commit that referenced this issue May 19, 2021
* Added missing idle args in XPendingExtArgs (#1750)

Added missing idle args in XPendingExtArgs

* fix #1754 (#1756)

* Replace go-pg with bun

* fix #1755

Signed-off-by: monkey <golang@88.com>

* fix read data

Signed-off-by: monkey <golang@88.com>

* fix #1758 (#1759)

fix #1758

Co-authored-by: Parvez <syedparvez72@gmail.com>
Co-authored-by: Vladimir Mihailenco <vladimir.webdev@gmail.com>
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 a pull request may close this issue.

1 participant