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

Add additional metrics and logging on stepdown

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.9
    • Affects Version/s: None
    • Component/s: Replication
    • Labels:
      None
    • Fully Compatible
    • Repl 2019-01-28, Repl 2019-02-11, Repl 2019-02-25

      Add the following metrics to server status:

      • repl.stepDown.userWriteOperationsKilled: Write operations killed by stepdown.
      • repl.stepDown.userReadOperationsRunning: Read operations left running at stepdown
      • repl.network.secondaryLegacyUnacknowledgedWrites: Write operations to a secondary which resulted in a disconnection due to being an unacknowledged write (legacy ops)
      • repl.network.secondaryUnacknowledgedWrites: Write operations to a secondary which resulted in a disconnection due to being an unacknowledged write

      Add the following logging:

      • At stepdown log the number of operations killed and preserved.
      • Log when an unacknowledged write results in a disconnection.

            Assignee:
            suganthi.mani@mongodb.com Suganthi Mani
            Reporter:
            greg.mckeon@mongodb.com Gregory McKeon (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: