-
Type:
Task
-
Resolution: Works as Designed
-
Priority:
Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Execution
-
None
-
None
-
None
-
None
-
None
-
None
-
None
In cluster_client_cursor_impl.cpp, change stream queries now update _bytesReturned by calling resultObj->objsize() on each result. This may add an extra O(N) scan of the full document to compute its size. Investigate the performance impact for change streams with large documents, especially when pre/post images are enabled and add a way to disable or gate this behavior if the overhead is significant.