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

Awaitable hello/isMaster appears in slow query log, part 2

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 4.9.0, 4.4.3
    • Affects Version/s: 4.4.0
    • Component/s: Replication
    • Labels:
      None
    • Fully Compatible
    • ALL
    • v4.4

      I didn't really fix SERVER-47267 and SERVER-50242 (awaitable "hello" / "ismaster" is logged as a slow query in mongos / mongod). Since the default duration for an awaitable ismaster is 10 seconds, I had thought it was appropriate to log if the command takes 20+ seconds, since that would indicate unusual slowness.

      However, users can and do override this default by setting their drivers' heartbeatFrequencyMS to a longer duration; if this is 20 seconds or more then ismasters make noise in the slow query log again.

            Assignee:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Reporter:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: