Change primaryId to primaryIndex in replication metadata

XMLWordPrintableJSON

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

      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
            Reporter:
            Siyuan Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: