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

Awaitable isMaster commands are logged as "Slow query"

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 4.4.0-rc3
    • Component/s: None
    • None
    • Fully Compatible
    • ALL

      I'm running 4.4.0-rc3 and noticed that all awaitable isMaster requests are logged as a "Slow query".

      Here's an example:

      {"t":{"$date":"2020-05-05T14:40:50.199-07:00"},"s":"I", "c":"COMMAND", "id":51803,  "ctx":"conn8","msg":"Slow query","attr":{"type":"command","ns":"admin.$cmd","command":{"ismaster":1,"topologyVersion":{"processId":{"$oid":"5eb1dd1acb440330e9a8dd24"},"counter":0},"maxAwaitTimeMS":10000,"$db":"admin","$readPreference":{"mode":"primary"}},"numYields":0,"reslen":304,"locks":{},"protocol":"op_msg","durationMillis":9999}}
      

      I propose that we suppress these log messages for awaitable isMaster otherwise the log will be flooded.

            Assignee:
            Unassigned Unassigned
            Reporter:
            shane.harvey@mongodb.com Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: