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

Docs for SERVER-32906: Improve logging around elections

      Description

      Description:

      "replication.election" is a child of "replication" (like "replication.rollback", for instance)

      Engineering Ticket Description:

      To aide diagnosing test failures, we should add logging any time we take an election-related action (election timeout expiring, calling for an election, voting in an election, etc), with all possible inputs to that decision (dump of heartbeat and spanning tree liveness tables, etc.).

      This could be done with a new log sub-component, so that we can have higher verbosity in our tests than in prod.

      Scope of changes

      • source/reference/log-messages.txt
      • source/reference/method/db.getLogComponents.txt (setLogComponent and parameters has examples – but not specific ones)
      • source/includes/options-conf.yaml
      • source/includes/list-log-component-setting-correspondence.rst
      • source/reference/configuration-options.txt
      • 4.2 rel notes

      Impact to Other Docs

      MVP (Work and Date)

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

            Assignee:
            kay.kim@mongodb.com Kay Kim (Inactive)
            Reporter:
            kay.kim@mongodb.com Kay Kim (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              5 years, 24 weeks, 2 days ago