Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-19383

Change primaryId to primaryIndex in replication metadata

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.1.6
    • Affects Version/s: None
    • Component/s: Replication
    • Labels:
      None
    • Fully Compatible
    • RPL 6 07/17/15

      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.

            Assignee:
            siyuan.zhou@mongodb.com Siyuan Zhou
            Reporter:
            siyuan.zhou@mongodb.com Siyuan Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: