-
Type: Task
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Query Execution
-
None
-
Query Execution
For change events with fullDocument field, the documentKey would be duplicated in the fullDocument field. If the document has large documentKey, the total size of the event would exceed the 16MB bson limit because of the duplication, and cause the change stream cursor to fail. What could be worse is that the resumeToken can also encode documentKey, resulting in more duplicates. We need to investigate approaches to mitigate this.
- duplicates
-
SERVER-55062 Change stream events can exceed 16MB with no workaround
- Closed
- related to
-
SERVER-53387 Large internal metadata can trigger BSONObjectTooLarge for commands under the BSON size limit
- Backlog