set minvalid term to -1 on pv1 downgrade

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Siyuan Zhou
            Reporter:
            Judah Schvimer
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: