[SERVER-30236] Add support for change notifications greater than 16mb Created: 19/Jul/17  Updated: 06/Dec/22

Status: Backlog
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Spencer Brody (Inactive) Assignee: Backlog - Query Execution
Resolution: Unresolved Votes: 0
Labels: changestreams
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Query Execution
Participants:

 Description   

If there is a partial update to a document where the size of the delta plus the size of the document post image is greater than 16 mb, changestreams that request fullDocument:'lookup' will need to be able to handle that case gracefully.
If the final notification entry that would be returned to the user is greater than 16mb, the changestream should be closed and an error should be returned to the user. If a later stage in the agg pipeline projects things out so that the final document returned to the user is less than 16mb, even if the doc was >16mb at some point during the pipeline, then the notification should be successfully returned to the user.



 Comments   
Comment by Spencer Brody (Inactive) [ 27/Sep/17 ]

Hopefully this already works and all we need to do is add a test for it.

Generated at Thu Feb 08 04:23:07 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.