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

Report mongos host and port in client metadata sent by AsyncClient

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Diagnostics
    • None
    • Networking & Observability
    • Networking & Obs 2024-09-30, Networking & Obs 2024-10-14, Networking & Obs 2024-10-28, Networking & Obs 2024-11-11, Networking & Obs 2024-11-25

      One of the challenges in diagnosing HELP-51094 / HELP-51359 was the inability to identify from the mongod logs which mongos had been used to send the command that ultimately crashed the mongod. This is because the mongod logs for the offending connection (thread) would only contain a "client metadata" log message followed later by a "BACKTRACE" log message with no other messages in between. Adding the mongos host and port to the context logged by the "client metadata" message would have made it simpler to look specifically at that particular mongos logs and FTDC for more clues.

            Assignee:
            didier.nadeau@mongodb.com Didier Nadeau
            Reporter:
            max.hirschhorn@mongodb.com Max Hirschhorn
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: