[SERVER-19383] Change primaryId to primaryIndex in replication metadata Created: 13/Jul/15  Updated: 25/Jan/17  Resolved: 16/Jul/15

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

Type: Task Priority: Major - P3
Reporter: Siyuan Zhou Assignee: Siyuan Zhou
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-18498 New replica set configurations have p... Closed
Backwards Compatibility: Fully Compatible
Sprint: RPL 6 07/17/15
Participants:

 Description   

primaryIndex is sufficient to indicate the primary, because we always check the match of config version. Besides, primaryIndex == -1 is the special case meaning the node doesn't know the primary.



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

Author:

{u'username': u'visualzhou', u'name': u'Siyuan Zhou', u'email': u'siyuan.zhou@mongodb.com'}

Message: SERVER-19383 Change primaryId to primaryIndex in replication metadata
Branch: master
https://github.com/mongodb/mongo/commit/23055835b7455c87120dc6f5a87ff0b497ac6d66

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