-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
ioredis blpop command does not work in clustered redis instance #850
Comments
Hi! I'm had the same issue. Is any updates? |
Also want to add that BLPOP command blocks connection until something new will be added to list. |
@luin Any update on the above issue? |
@luin is it reasonable to use a separate connection to discover cluster and slots ? |
Sorry for the late response. |
@luin It seems it is working good with a little modification such as referring timeout function from utils_1 I think it's only a merging issue. While merging this branch this needs to be taken care as the development is done on a previous version. |
🎉 This issue has been resolved in version 4.9.5 🎉 The release is available on: Your semantic-release bot 📦🚀 |
## [4.9.5](redis/ioredis@v4.9.4...v4.9.5) (2019-05-15) ### Bug Fixes * **cluster:** make blocking commands works with cluster ([#867](redis/ioredis#867)) ([68db71b](redis/ioredis@68db71b)), closes [#850](redis/ioredis#850) [#850](redis/ioredis#850)
I am using redis cluster instance as below:
Inside sendCommand method I have issued a console log so as to see which command is being issued as below:
Got the output as below:
Note: I have placed only blpop command which I have issued and ignore all other commands.
Inside sendCommand method:
Inside sendCommand method:
err is:
I believe this thing is failing in 2nd time as I have passed maxRedirections as 1.
The text was updated successfully, but these errors were encountered: