Reset the in-memory optimes on PV downgrade and upgrade

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.6.3
    • Affects Version/s: None
    • Component/s: Replication
    • Fully Compatible
    • ALL
    • v3.6, v3.4
    • Repl 2018-01-15, Repl 2018-01-29, Repl 2018-02-12
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We assume terms only increase, but on downgrade they can decrease. Resetting the in-memory terms to 0 should fix this. Which OpTimes need to be reset requires more investigation. The lastCommittedOpTime certainly does.

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

                Created:
                Updated:
                Resolved: