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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: 4.4.0
    • Fix Version/s: 4.9.0, 4.4.3
    • Component/s: Replication
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      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

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

                Dates

                Created:
                Updated:
                Resolved: