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
connections: fix pipeline usage for exists command #366
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #366 +/- ##
=======================================
Coverage 98.80% 98.80%
=======================================
Files 9 9
Lines 917 917
Branches 166 166
=======================================
Hits 906 906
Misses 6 6
Partials 5 5
Continue to review full report at Codecov.
|
@utkarshgupta137 Don't know if you saw the python 3.7 (redis 5) CI fail here. Tagged you because... |
I saw the failure, but I'm unable to figure out the issue from a brief look. I don't have the time to look into it, so I figured that the library's maintainers would be able to check why it is failing. |
I think there are some intermittent failures due to timing issues, I've rerun the job in the hope it passes. |
Please can someone explain why this can't be run as part of the pipeline? It would surely be cleaner and faster to include this in the pipeline. |
You can run it in pipeline. The problem is that you're calling the same pipeline twice in parallel (asyncio.gather). You should either call the pipeline once or not use pipeline if calling in parallel. |
makes sense, then I would suggest we drop the |
Even better: Since the exists command can accept multiple keys, we can check both of them in a single command. Not sure if you still need a pipeline with that, but I've left it since you're using a transaction. |
Pipeline does not test against release candidate on redis-py, have you tried locally and ensure this works? If not I can check later / we should add a pipeline. EDIT: I just tested, it works on |
Thanks so much. Is anything else required to support |
Installed arq from master in one of my projects and all tests + functionality seems to run fine here now. Thanks a lot all of you 😊 |
Potential fix for: redis/redis-py#2407