-
Notifications
You must be signed in to change notification settings - Fork 73
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
Could not queue, ReplyError from redis use replicate_commands() #99
Comments
Thank you for the bug report! This is definitely a bug in Bottleneck, I'll fix it ASAP. Can you please paste your Thank you! |
Let me know if I can get you any more info, I'll get it to you asap. Thanks! |
I need a little bit more information:
Thank you! For reference, this error message seems to indicate that in a small percentage of cases, the Redis operations executed by Bottleneck are not compatible with replication. I designed Bottleneck to work with replication, so I need to find which edge case I missed. Different versions of Redis have different requirements in order to support replication in a safe and atomic manner. EDIT: I'm 98% sure I've found the problem, I believe it's an optimization in the new load balancing algorithm that's not compatible with replication. Have you been using Bottleneck with your current settings since before v2.14? I believe this issue was introduced in v2.14, and it would help me reproduce the problem faster if you were able to confirm that this issue did not happen before v2.14. Anyways, I'll have a fix by Saturday at the latest. |
Here's my redis INFO: Serverredis_version:4.0.7 Replicationrole:master Clustercluster_enabled:0 ioredis using version 3.2.2, Thanks for such speedy response! |
I can try out a pre 2.14 version and see if the issue persists. Will update when i do. |
Please do, that will help. Just be aware that pre 2.14 does not try to spread out load between instances in a Cluster, it's purely left out to randomness. |
I was about to confirm that the Redis
I just published v2.15.1, it avoids using the problematic command altogether. |
This also helped me find another issue where in certain cases it would still believe a limiter was present after it had gone away. It would look "stuck" and only execute jobs every 4-5s on average. This has been fixed in 2.15.2 and there's now a strong test to ensure this cannot happen anymore. |
Hi! Im running into an error:
It only comes through the debug event, with message 'Could not queue ' along with the data from above image.
It only happens a small percent of the queue attempts, but the schedule submit succeeds, but job never queues.
Any help would be appreciated!
-Will
The text was updated successfully, but these errors were encountered: