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

Streamable isMaster generates slow query log

    • Type: Icon: Improvement Improvement
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 4.4.0-rc6
    • Component/s: Diagnostics
    • None

      When using the new streamable isMaster protocol, the server generates a "Slow query" log entry for each response, like this:

      {"t":{"$date":"2020-05-21T19:38:09.257-04:00"},"s":"I",  "c":"COMMAND",  "id":51803,   "ctx":"conn1313",
      "msg":"Slow query",
      "attr":{"type":"command","ns":"admin.$cmd","command":{"ismaster":1,
      "topologyVersion":{"processId":{"$oid":"5ec6a8fc391637b919d6d8ca"},"counter":0}," maxAwaitTimeMS":10000,"$db":"admin"},"numYields":0,"reslen":304,"locks":{},"protocol":"op_msg","durationMillis":9999}}
      

      Is this expected, and if so, is it desirable?

        1. mongodb.log
          110 kB
          Jeffrey Yemin

            Assignee:
            Unassigned Unassigned
            Reporter:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: