Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-13053

Investigate changes in SERVER-41506: Track metrics associated with a node calling an election

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.3.1, 4.2.1, 4.0.14
    • Component/s: manual, Server
    • Labels:
      None

      Description

      Description

      note Updated the description. Previously statedelectionParticipantMetrics (I think it was a copy+paste error) - but  node calling an election is electionCandidateMetrics.  The electionParticipantMetrics is SERVER-41512 and DOCS-13085.

       

      Downstream Change Summary

      This ticket added metrics tracking when a node calls for an election. I added the following fields to 'electionCandidateMetrics' in 'repSetGetStatus':

      lastElectionReason
      lastElectionDate
      termAtElection
      lastCommittedOpTimeAtElection
      numVotesNeeded
      priorityAtElection
      electionTimeoutMillis
      priorPrimaryMemberId

       

      Description of Linked Ticket

      Track metrics associated with a node calling an election: reason for calling election, time it called election, latest committed opTime and latest seen opTime when election was called, number of votes needed to win election, priority at the time of the election, electionTimeoutMillis at the time of the election, prior primary member id

      Scope of changes

       

       

      DOCS metrics SERVER Availability Backport
      DOCS-13053 lastElectionReason SERVER-41506 4.2.1 4.0.14
      DOCS-13053 lastElectionDate SERVER-41506 4.2.1 4.0.14
      DOCS-13053 termAtElection -> electionTerm in 4.2.2 and 4.0.14 SERVER-41506 4.2.1 4.0.14
      DOCS-13053 lastCommittedOpTimeAtElection SERVER-41506 4.2.1 4.0.14
      DOCS-13053 numVotesNeeded SERVER-41506 4.2.1 4.0.14
      DOCS-13053 priorityAtElection SERVER-41506 4.2.1 4.0.14
      DOCS-13053 electionTimeoutMillis SERVER-41506 4.2.1 4.0.14
      DOCS-13053 priorPrimaryMemberId SERVER-41506 4.2.1 4.0.14
      DOCS-12955 targetCatchupOpTime SERVER-41503 4.2.1 4.0.13
      DOCS-12962 numCatchUpOps SERVER-41504 4.2.1 4.0.14
      DOCS-12956 newTermStartDate SERVER-41507 4.2.1 4.0.14
      DOCS-13019 wMajorityWriteAvailabilityDate SERVER-41508 4.2.1 4.0.14

      Impact to Other Docs

      MVP (Work and Date)

      Resources (Scope or Design Docs, Invision, etc.)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kay.kim Kay Kim (Inactive)
              Reporter:
              backlog-server-pm Backlog - DB Eng Program Management Team
              Participants:
              Last commenter:
              Kay Kim (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since reply:
                39 weeks, 6 days ago
                Date of 1st Reply: