We got a report that lua-resty-mongol stores "chunkSize" as a BSON float instead of an int. This causes PyMongo to throw an exception trying to read GridFS files stored by lua-resty-mongol, and it will likely cause other MongoDB drivers to throw exceptions as well:
We got a report that lua-resty-mongol stores "chunkSize" as a BSON float instead of an int. This causes PyMongo to throw an exception trying to read GridFS files stored by lua-resty-mongol, and it will likely cause other MongoDB drivers to throw exceptions as well:
https://jira.mongodb.org/browse/PYTHON-749
The symptom will be that when you query the "files" collection using the Mongo shell, you can find documents where chunkSize is a float type:
... but not int32 type:
If the driver is storing files in GridFS correctly, then chunkSize will be int type:
$type: 16
.Is this the right place to file this, or shall I file it on the upstream "mongol" project?