Saved searches
Use saved searches to filter your results more quickly
Cancel Create saved search
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.
redis / go-redis Public
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
Wrong cmd slot of xread in cluster #1501
chengjing1181122598 opened this issue Sep 21, 2024 · 3 comments
Wrong cmd slot of xread in cluster #1501
chengjing1181122598 opened this issue Sep 21, 2024 · 3 comments
Comments
chengjing1181122598 commented Sep 21, 2024
Issue tracker is used for reporting bugs and discussing new features. Please use
stackoverflow for supporting issues.
Expected Behavior
Xread should not occur MOVED error in cluster.
Current Behavior
Xread always occur MOVED error in cluster.
Possible Solution
Steps to Reproduce
- github.com/go-redis/redis/v7 v7.4.0
- In cluster mode
- XRead(&redis.XReadArgs, Count: 100, Block: 0>)
- Wrong cmd args position used to slot, should be “test_stream_pub_sub” instead of “count”.
- Incidentally please check other cmd about stream.
Context (Environment)
Detailed Description
Possible Implementation
The text was updated successfully, but these errors were encountered:
chengjing1181122598 closed this as completed Sep 22, 2024
chengjing1181122598 reopened this Sep 22, 2024
chengjing1181122598 commented Sep 22, 2024 •
command info xread 1) 1) "xread" 2) (integer) -4 3) 1) readonly 2) movablekeys 4) (integer) 1 5) (integer) 1 6) (integer) 1 7) 1) @read 2) @stream 3) @slow 4) @blocking
Here 4) (integer) 1 is the position ( 1 ) of the key argument. So it uses args[1] which is count . So everything works as expected (but incorrectly).
There is movablekeys in command flags.It is the note from https://redis.io/commands/command.
movablekeys - keys have no pre-determined position. You must discover keys yourself.
So the client should do more to discover keys, right?
Situs Judi Bola Terpercaya
bola parlay, situs parlay bola, cara main parlay bola, judi bola, mix parlay, mix parlay hari ini, judi bola parlay, judi bola terpercaya, judi bola parlay, judi bola slot, judi bola resmi.
Send me an email through ‘Contact’ button above and I’ll get back to you asap.
Reviews
Terms Of Service
SoundBetter is a curated marketplace of the world’s top music production talent
- info@soundbetter.com
- +(1) 888-734-4358
World-class music and production talent at your fingertips
Browse Curated Pros
Search by credits or ‘sounds like’ and check out audio samples and verified reviews of top pros.
Get Free Proposals
Contact pros directly with your project details and receive handcrafted proposals and budgets in a flash.
Make Amazing Music
Fund and work on your project through our secure platform. Payment is only released when work is complete.
Dengan CMD368 Thai yang dicari: