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

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

      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.)

            Assignee:
            kay.kim@mongodb.com Kay Kim (Inactive)
            Reporter:
            backlog-server-pm Backlog - Core Eng Program Management Team
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              4 years, 19 weeks ago