-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Write Ops
The BSON specification states that
Array - The document for an array is a normal BSON document with integer values for the keys, starting with 0 and continuing sequentially. For example, the array ['red', 'blue'] would be encoded as the document {'0': 'red', '1': 'blue'}. The keys must be in ascending numerical order
yet the server does not validate that BSON documents conform to this specification.
This has caused compatibility issues between drivers, as evidenced by the linked tickets.
- is related to
-
SERVER-21946 when sent invalid BSON, server runs one thing and prints another in the logs
- Backlog
- related to
-
JAVA-1618 BasicBSONList doesn't support zero-length "" key
- Closed
-
CDRIVER-504 Convenient API to create BSON arrays
- Closed