-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 3.1
-
Component/s: None
Instead it raises AutoReconnect: connection closed. It's a regression from the 3.0 driver.
I think this is confusing and should be fixed.
Traceback I have now:
Traceback (most recent call last): File "/var/lib/jenkins/jobs/xxx/workspace/src/aae_core/celerybackend.py", line 36, in store_result super(StorageErrorMixin, self).store_result(task_id, result, status, traceback, request, **kwargs) File "/var/lib/jenkins/env/lib/python2.7/site-packages/celery/backends/base.py", line 257, in store_result request=request, **kwargs) File "/var/lib/jenkins/env/lib/python2.7/site-packages/celery/backends/mongodb.py", line 155, in _store_result self.collection.save(meta) File "/var/lib/jenkins/env/lib/python2.7/site-packages/pymongo/collection.py", line 1992, in save check_keys, False, manipulate, write_concern) File "/var/lib/jenkins/env/lib/python2.7/site-packages/pymongo/collection.py", line 619, in _update codec_options=self.codec_options).copy() File "/var/lib/jenkins/env/lib/python2.7/site-packages/pymongo/pool.py", line 206, in command self._raise_connection_failure(error) File "/var/lib/jenkins/env/lib/python2.7/site-packages/pymongo/pool.py", line 333, in _raise_connection_failure raise error AutoReconnect: connection closed