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

Change primaryId to primaryIndex in replication metadata

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.1.6
    • None
    • Replication
    • None
    • Fully Compatible
    • RPL 6 07/17/15

    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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: