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

Account for election down time when calculating majority committed lag

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Investigating
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Replication
    • Labels:
      None
    • Sprint:
      Execution Team 2019-12-30, Execution Team 2019-12-30

      Description

      According to the findings in SERVER-41187, there is a period of time after an election where the lastCommitted OpTime is still from the previous term, and the lastApplied OpTime on the primary is from the new term. The majority committed "lag" is overstated as a result, because it includes time during which the replica set is not accepting writes.
      Calculations of majority committed lag should ideally exclude this down time.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated: