-
Type: Spec Change
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Component/s: GridFS
-
None
-
Needed
From the GridFS spec:
Note: drivers SHOULD store length as Int64 and chunkSize as Int32 when creating new GridFS files. However, drivers MUST be able to handle existing GridFS files where the length and chunkSize fields might have been stored using a different numeric data type.
The JSON tests use JSON number, not $numberLong
https://github.com/mongodb/specifications/blob/master/source/gridfs/tests/upload.json#L29
This quote has already caused some confusion. See PYTHON-1738 and GODRIVER-809.
Should SHOULD be changed to MUST with a related change to use $numberLong in the GridFS tests?
- related to
-
PYTHON-1738 Length field of gridfs files collection documents stored as Int32 instead of int64
- Closed