[SERVER-45987] Ensure apply op entries for deletes in multi-document transactions only include the document key Created: 05/Feb/20  Updated: 29/Oct/23  Resolved: 13/Mar/20

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.2.5, 4.0.17, 4.4.0-rc0, 4.7.0

Type: Task Priority: Major - P3
Reporter: Jonathan Reams Assignee: Ruoxin Xu
Resolution: Fixed Votes: 0
Labels: qexec-team
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.4, v4.2, v4.0
Sprint: Query 2020-03-09, Query 2020-03-23
Participants:

 Description   

While changing the op observer to track pre-images of deletes, we found that in multi-document transactions we may be logging the entire deleted document instead of only it's document key. We should ensure we do not do that and backport it to 4.2



 Comments   
Comment by Githook User [ 25/Mar/20 ]

Author:

{'name': 'Ruoxin Xu', 'username': 'RuoxinXu', 'email': 'ruoxin.xu@mongodb.com'}

Message: SERVER-45987 Ensure apply op entries for deletes in multi-document transactions only include the document key

(cherry picked from commit ed0c0365b4baf8939d39edb766c8ddbbc33187d3)
Branch: v4.0
https://github.com/mongodb/mongo/commit/caa29e31ae529b23c4dabb6878de58e2a7f0eda9

Comment by Githook User [ 25/Mar/20 ]

Author:

{'email': 'ruoxin.xu@mongodb.com', 'name': 'Ruoxin Xu', 'username': 'RuoxinXu'}

Message: SERVER-45987 Ensure apply op entries for deletes in multi-document transactions only include the document key

(cherry picked from commit ed0c0365b4baf8939d39edb766c8ddbbc33187d3)
Branch: v4.2
https://github.com/mongodb/mongo/commit/df48845a82541e8f5fa687487ed7d77a17bf9205

Comment by Githook User [ 18/Mar/20 ]

Author:

{'email': 'ruoxin.xu@mongodb.com', 'name': 'Ruoxin Xu', 'username': 'RuoxinXu'}

Message: SERVER-45987 Ensure apply op entries for deletes in multi-document transactions only include the document key

(cherry picked from commit ed0c0365b4baf8939d39edb766c8ddbbc33187d3)
Branch: v4.4
https://github.com/mongodb/mongo/commit/9750ce5b6a694b021b69e854c0c31d0503cb64f3

Comment by Githook User [ 13/Mar/20 ]

Author:

{'username': 'RuoxinXu', 'name': 'Ruoxin Xu', 'email': 'ruoxin.xu@mongodb.com'}

Message: SERVER-45987 Ensure apply op entries for deletes in multi-document transactions only include the document key
Branch: master
https://github.com/mongodb/mongo/commit/ed0c0365b4baf8939d39edb766c8ddbbc33187d3

Comment by Craig Homa [ 11/Feb/20 ]

Hey jonathan.reams, Query is just wondering...did you attach this to the epic since you plan on working on it, or should Query schedule and work on it?

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