[SERVER-18982] Apply replicated inserts as inserts Created: 15/Jun/15  Updated: 24/Jul/17  Resolved: 20/Jul/15

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

Type: Improvement Priority: Major - P3
Reporter: Bruce Lucas (Inactive) Assignee: Scott Hernandez (Inactive)
Resolution: Done Votes: 0
Labels: mms-s
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-18908 Secondaries unable to keep up with pr... Closed
Related
related to SERVER-30049 applyOperation_inlock() allows except... Closed
related to SERVER-30106 Allow syncTail replication to write t... Closed
Backwards Compatibility: Fully Compatible
Sprint: RPL 6 07/17/15
Participants:

 Description   

Replicated inserts are currently processed on secondaries as an update (w/upsert:true), not an insert as an extra, but unnecessary, guarantee for idempotency. This is more expensive than the original insert on the primary so it cause differences in performance on secondary, like increased resource allocation (cpu) and/or latency (replication lag).



 Comments   
Comment by Githook User [ 28/Jul/15 ]

Author:

{u'username': u'scotthernandez', u'name': u'Scott Hernandez', u'email': u'scotthernandez@gmail.com'}

Message: SERVER-18982: do inserts as inserts in replication
Branch: master
https://github.com/mongodb/mongo/commit/4d5b80ab7f0690908475919fbd52ec4459b363f7

Comment by Githook User [ 20/Jul/15 ]

Author:

{u'username': u'scotthernandez', u'name': u'Scott Hernandez', u'email': u'scotthernandez@gmail.com'}

Message: SERVER-18982: do inserts as inserts in replication
Branch: master
https://github.com/mongodb/mongo/commit/4d5b80ab7f0690908475919fbd52ec4459b363f7

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