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

Increase isSelf logging verbosity

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.4.1, 4.7.0
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • v4.4
    • Repl 2020-06-29
    • 14

      As a part of SERVER-48347, we added debug logging to the isSelf codepath to determine why isSelf could fail.

      However, after doing so, we noticed that other suites would also benefit from this logging. Since they are logged under the NETWORK component, we would have to increase the verbosity per suite (sometimes in reaction to seeing a failure we could not diagnose without extra isSelf logging).

      It could be useful to change these logs to warnings or log them at the default log level. Based on the conversation in BACKPORT-7368, we should investigate the risk of flooding the logs when a node is removed and it retries isSelf on every heartbeat. It could end up being too verbose.

            Assignee:
            pavithra.vetriselvan@mongodb.com Pavithra Vetriselvan
            Reporter:
            pavithra.vetriselvan@mongodb.com Pavithra Vetriselvan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: