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

Give replica set secondaries votes in concurrency suites

    XMLWordPrintable

Details

    • Fully Compatible
    • Repl 2019-11-18

    Description

      Presently, by default we give zero votes to secondary members in concurrency suites' ReplicaSetFixture . As a result, lastCommitted lag is not reliable because non-voting members are not considered in its calculation. This means that consumers of lastCommitted lag, such as Flow Control, will not have much testing coverage in most concurrency suites.

      In order to prevent a new primary from being elected, it is sufficient to give secondary members zero priority. IIUC, giving secondaries zero votes just prevents stepdowns of the current primary.

      We should consider removing the restriction on secondary votes. If it is absolutely necessary to avoid stepdowns in certain cases, we should make sure that these cases are handled individually.

      Attachments

        Issue Links

          Activity

            People

              judah.schvimer@mongodb.com Judah Schvimer
              maria.vankeulen@mongodb.com Maria van Keulen
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: