[SERVER-61894] Support the 'showRawUpdateDescription' option in change stream specs Created: 03/Dec/21  Updated: 29/Oct/23  Resolved: 08/Feb/22

Status: Closed
Project: Core Server
Component/s: Change streams
Affects Version/s: None
Fix Version/s: 5.3.0, 4.4.16, 4.2.22, 5.0.11

Type: Task Priority: Major - P3
Reporter: Nikita Lapkov (Inactive) Assignee: Drew Paroski
Resolution: Fixed Votes: 0
Labels: pm1950-m4
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
is depended on by SERVER-63159 Implement the $_internalApplyOplogUpd... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v5.0, v4.4, v4.2
Sprint: QE 2021-12-13, QE 2022-02-07, QE 2022-02-21
Participants:

 Description   

We add one more parameter to the $changeStream stage called showRawUpdateDescription. When it is set to true, the updateDescription field of the update event is replaced by the oplog entry, corresponding to the update command. Since the oplog format is internal, the flag itself will not be documented.



 Comments   
Comment by Githook User [ 22/Jul/22 ]

Author:

{'name': 'Drew Paroski', 'email': 'drew.paroski@mongodb.com', 'username': 'paroski'}

Message: SERVER-61894 Support the 'showRawUpdateDescription' option in change stream specs

(cherry picked from commit 8ff9eb25cd17af72f7d9d3a15418c069eee1ae9d)
(cherry picked from commit b156a5b704741985498482166e90c18ca9b03b95)
(cherry picked from commit dea572279c27e7096a319568fb192940f8de9b59)
Branch: v4.2
https://github.com/mongodb/mongo/commit/cd6b3e618c5d2988d0131ce81baec018eee79767

Comment by Githook User [ 22/Jul/22 ]

Author:

{'name': 'Drew Paroski', 'email': 'drew.paroski@mongodb.com', 'username': 'paroski'}

Message: SERVER-61894 Support the 'showRawUpdateDescription' option in change stream specs

(cherry picked from commit 8ff9eb25cd17af72f7d9d3a15418c069eee1ae9d)
(cherry picked from commit b156a5b704741985498482166e90c18ca9b03b95)
Branch: v4.4
https://github.com/mongodb/mongo/commit/dea572279c27e7096a319568fb192940f8de9b59

Comment by Githook User [ 21/Jul/22 ]

Author:

{'name': 'Drew Paroski', 'email': 'drew.paroski@mongodb.com', 'username': 'paroski'}

Message: SERVER-61894 Support the 'showRawUpdateDescription' option in change stream specs

(cherry picked from commit 8ff9eb25cd17af72f7d9d3a15418c069eee1ae9d)
Branch: v5.0
https://github.com/mongodb/mongo/commit/b156a5b704741985498482166e90c18ca9b03b95

Comment by Githook User [ 08/Feb/22 ]

Author:

{'name': 'Drew Paroski', 'email': 'drew.paroski@mongodb.com', 'username': 'paroski'}

Message: SERVER-61894 Support the 'showRawUpdateDescription' option in change stream specs
Branch: master
https://github.com/mongodb/mongo/commit/8ff9eb25cd17af72f7d9d3a15418c069eee1ae9d

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