[SERVER-70841] Fix stripping of 'hash' field in oplog entry in apply_ops.cpp Created: 25/Oct/22  Updated: 29/Oct/23  Resolved: 16/Nov/22

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

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

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Repl 2022-11-28
Participants:

 Description   

The 'removeField' function actually returns a brand new copy of the object without the field, and we should use that instead. (See here).



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

Author:

{'name': 'Vesselina Ratcheva', 'email': 'vesselina.ratcheva@10gen.com', 'username': 'vessy-mongodb'}

Message: SERVER-70841 Fix stripping of 'hash' field in oplog entry in apply_ops.cpp
Branch: master
https://github.com/mongodb/mongo/commit/e7bd29d0e171013a00ef64c5f2bf727fef23301d

Generated at Thu Feb 08 06:17:16 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.