Details
-
Bug
-
Status: Closed
-
Major - P3
-
Resolution: Fixed
-
3.0
-
None
-
None
Description
Reported on mongodb-user. This is incorrect:
https://github.com/mongodb/mongo-python-driver/blob/master/gridfs/__init__.py#L238-L239
We should be using delete_one on self.__files and delete_many on self.__chunks. Sadly, a multi-chunk delete doesn't seem to be covered in the test suite.