[SERVER-61998] Add an oplog MatchExpression rewrite for the "fullDocumentBeforeChange" field Created: 12/Dec/21  Updated: 29/Oct/23  Resolved: 15/Aug/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.1.0-rc0

Type: Improvement Priority: Major - P3
Reporter: Bernard Gorman Assignee: Naomie Gao (Inactive)
Resolution: Fixed Votes: 0
Labels: change-stream-rewrite
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: QE 2022-07-11, QE 2022-07-25, QE 2022-08-08, QE 2022-08-22
Participants:

 Description   

See here. This should be a very simple rewrite which just filters out events that can never match the predicate on fullDocumentBeforeChange, generally anything other than {op: "u"} and {op: "d"}. We can't actually evaluate the predicate fully since we don't have the pre-image until later in the pipeline.


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