[SERVER-55491] Make DocumentSourceUpdateOnAddShards as the first class member of the pipeline Created: 24/Mar/21  Updated: 29/Oct/23  Resolved: 09/May/21

Status: Closed
Project: Core Server
Component/s: Change streams
Affects Version/s: None
Fix Version/s: 5.0.0-rc0

Type: Bug Priority: Major - P3
Reporter: Rishab Joshi (Inactive) Assignee: Rishab Joshi (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-54676 Serialization and deserialization for... Closed
depends on SERVER-54937 Remove DocumentSourceChangeStreamClos... Closed
is depended on by SERVER-52283 Enable feature flag for Allow $change... Closed
Problem/Incident
Related
related to SERVER-55534 Store original pipeline in DocumentSo... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Query Execution 2021-04-05, Query Execution 2021-04-19, Query Execution 2021-05-03, Query Execution 2021-05-17
Participants:
Linked BF Score: 136

 Description   

SERVER-54937 introduced a dummy pipeline called DocumentSourceChangeStreamPipelineSplitter which helps in splitting the change-stream pipeline. Initially, this was done by DocumentSourceChangeStreamCloseCursor which has been removed in the ticket SERVER-54937

This ticket aims to make DocumentSourceUpdateOnAddShard a first-class citizen of the change-stream pipeline and should take care of splitting the pipeline. After this work is done, we should remove the dummy pipeline stage. 



 Comments   
Comment by Githook User [ 09/May/21 ]

Author:

{'name': 'Rishab Joshi', 'email': 'rishab.joshi@mongodb.com', 'username': 'rishvin'}

Message: SERVER-55491: Make DocumentSourceUpdateOnAddShards as the first class member of the pipeline
Branch: master
https://github.com/mongodb/mongo/commit/ca1a1e10e25f6e824e23317606da304c185bf259

Comment by Githook User [ 09/May/21 ]

Author:

{'name': 'Rishab Joshi', 'email': 'rishab.joshi@mongodb.com', 'username': 'rishvin'}

Message: SERVER-55491: Make DocumentSourceUpdateOnAddShards as the first class member of the pipeline
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/967bbcd6baeb658174b5c38faab4609c5779cd6a

Generated at Thu Feb 08 05:36:37 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.