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

log every heartbeat during testing

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Done
    • None
    • 3.5.5
    • Replication
    • Minor Change
    • v3.4
    • Repl 2017-03-06, Repl 2017-03-27
    • 15

    Description

      Heartbeats failing or timing out are a very common source of build failures. Since they only happen every 2 seconds, logging 1-4 messages per heartbeat will not explode the number of log messages we have.

      Currently we only log very long running heartbeats or at higher log levels. At the maximum, this would be when a heartbeat is sent, when it is received, when the response is sent, and when the response is received, though all four of these may not be necessary. Logging when we cancel heartbeats may also be worthwhile.

      This can also be done to a special log component so that it's easy to turn on/off and easy to filter out in log readers. Also some of the log messages in this component could be at higher log levels than others.

      Attachments

        Issue Links

          Activity

            People

              william.schultz@mongodb.com William Schultz (Inactive)
              judah.schvimer@mongodb.com Judah Schvimer
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: