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

set minvalid term to -1 on pv1 downgrade

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • ALL
    • v3.4, v3.2
    • Repl 2017-10-02, Repl 2017-10-23, Repl 2017-11-13

      When we upgrade to pv1 after previously downgrading, the node's term will be set to 0. If the term of minValid is greater than 0, we will not be able to find a sync source. Setting it to -1 on downgrade will avoid this.

        1. pvUpgradeDowngrade.js
          3 kB
          Judah Schvimer

            Assignee:
            siyuan.zhou@mongodb.com Siyuan Zhou
            Reporter:
            judah.schvimer@mongodb.com Judah Schvimer
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: