[SERVER-18584] A primary should write 'n' op when elected Created: 20/May/15  Updated: 19/Sep/15  Resolved: 05/Aug/15

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

Type: Improvement Priority: Major - P3
Reporter: Eric Milkie Assignee: Matt Dannenberg
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-19753 Do not allow force sync from stale so... Closed
Duplicate
duplicates SERVER-5957 replica set primaries should log they... Closed
Backwards Compatibility: Fully Compatible
Sprint: RPL 4 06/05/15, RPL 7 08/10/15
Participants:

 Description   

See the "Newly Elected Nodes must commit their first op" section in the spec.
We should write this new op when elected, record its optime, and then use that optime as a floor when recalculating the commit level.



 Comments   
Comment by Githook User [ 05/Aug/15 ]

Author:

{u'username': u'dannenberg', u'name': u'matt dannenberg', u'email': u'matt.dannenberg@10gen.com'}

Message: SERVER-18584 write an n-op when transition to primary is complete
Branch: master
https://github.com/mongodb/mongo/commit/197ea2a625dc04d95a7ad4933283b5f02ca2ad9e

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