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

Nodes should provide more information on why they reject a vote

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.4.11, 3.5.8
    • Component/s: Replication
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v3.4
    • Sprint:
      Repl 2017-05-29
    • Linked BF Score:
      0

      Description

      When votes are rejected, we say why they are, but don't provide details. For example, if we vote no because the candidate is behind us, we don't provide the relevant OpTimes, even though they're available.
      https://github.com/mongodb/mongo/blob/8a4b235971a59e92e3fa67fd6a92ddcfcd76ce81/src/mongo/db/repl/topology_coordinator_impl.cpp#L2573-L2591

        Attachments

          Activity

            People

            Assignee:
            judah.schvimer Judah Schvimer
            Reporter:
            judah.schvimer Judah Schvimer
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: