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
Celery mongo backend fails with greentlet + pymongo > 3.0 #2743
Comments
sukrit007
added a commit
to totem/cluster-orchestrator
that referenced
this issue
Aug 4, 2015
sukrit007
added a commit
to sukrit007/celery
that referenced
this issue
Aug 5, 2015
Fixes celery issue for pymongo 3+ with gevent
@celery/celeryproject Don't close this until I cherry pick it into master as well |
Hey @sukrit007, can you please add your name to https://github.com/celery/celery/edit/master/CONTRIBUTORS.txt ? |
Cherry picked into master |
ask
pushed a commit
that referenced
this issue
Oct 26, 2015
tristan0x
pushed a commit
to cogniteev/celery
that referenced
this issue
Dec 18, 2015
Fixes celery issue for pymongo 3+ with gevent
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Given:
A celery worker configured to use greelet and mongo backend using pymongo > 3.0
When:
I execute any task that requires backend
Then:
My task fails with error
Cause:
use_greenlets option was removed in pymongo 3.0.
https://github.com/celery/celery/blob/master/celery/backends/mongodb.py#L161
We possibly need to check the version of pymongo prior to passing this option.
See: http://emptysqua.re/blog/it-seemed-like-a-good-idea-at-the-time-pymongo-use-greenlets
The text was updated successfully, but these errors were encountered: