[SERVER-37949] DocumentSourceChangeStreamTransform should not swap with $limit or $match Created: 06/Nov/18  Updated: 29/Oct/23  Resolved: 15/Nov/18

Status: Closed
Project: Core Server
Component/s: Aggregation Framework
Affects Version/s: None
Fix Version/s: 4.0 Required

Type: Task Priority: Major - P3
Reporter: Jacob Evans Assignee: Jacob Evans
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Query 2018-12-03
Participants:

 Description   

Because the DocumentSourceChangeStreamTransform can change the amount of documents it is incorrect to swap it with $limit or $match. These lines are incorrect. This ticket is to investigate the need of backporting the removal of these lines which was applied to master as part of the fix for SERVER-28592.



 Comments   
Comment by Githook User [ 15/Nov/18 ]

Author:

{'name': 'Jacob Evans', 'email': 'jacob.evans@10gen.com'}

Message: SERVER-37949 DocumentSourceChangeStreamTransform should not swap with $limit or $match
Branch: v4.0
https://github.com/mongodb/mongo/commit/9592f2fd0759864eab470f58e47a3a52872b607f

Comment by Ian Whalen (Inactive) [ 09/Nov/18 ]

erring on the assumption that jacob will just backport the relevant part of the patch that already went into master.

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