[SERVER-17432] do not apply replicated insert/delete/update operations on objects without _id field Created: 02/Mar/15  Updated: 25/Jan/17  Resolved: 10/Mar/15

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: 3.0.0-rc11
Fix Version/s: 3.1.0

Type: Bug Priority: Minor - P4
Reporter: Benety Goh Assignee: Benety Goh
Resolution: Done Votes: 0
Labels: FT
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-17515 copyDatabase fails to replicate index... Closed
is related to SERVER-17330 dead repl code cleanup Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

applyOperation_inlock (src/mongo/repl/oplog.cpp) currently inserts/deletes/updates objects that do not contain an _id field. With more recent versions of the server, this is no longer possible.

We should log all instances of such invalid insert/delete/update operations.



 Comments   
Comment by Githook User [ 10/Mar/15 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-17432 do not apply replicated insert/update/delete operations on objects without _id field
Branch: master
https://github.com/mongodb/mongo/commit/af18f1b35d092cefcab5cc9dc055a0fce4b04f19

Comment by Githook User [ 10/Mar/15 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-17432 converted applyOperation_inlock to return status
Branch: master
https://github.com/mongodb/mongo/commit/796369d27df571fb65c33d70714b90a2f732979a

Generated at Thu Feb 08 03:44:24 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.