[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: |
|
||||||||
| 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: |