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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor - P4
    • Resolution: Fixed
    • 4.4.0
    • 4.9.0, 4.4.3
    • Replication
    • None
    • Fully Compatible
    • ALL
    • v4.4

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: