[SERVER-36593] applyOps may not include _id in oplog entry Created: 10/Aug/18  Updated: 06/Dec/22

Status: Backlog
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Judah Schvimer Assignee: Backlog - Replication Team
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File applyops_no_id.js    
Issue Links:
Depends
Problem/Incident
Related
related to SERVER-32952 applyOps does not validate updates Backlog
Assigned Teams:
Replication
Operating System: ALL
Participants:
Linked BF Score: 18

 Description   

If the 'o2' field has an invalid _id (like a regex) it can generate a different _id on the primary and secondary



 Comments   
Comment by Judah Schvimer [ 10/Aug/18 ]

Repro! applyops_no_id.js

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