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

Log when flow control is engaged and disengaged

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor - P4
    • Resolution: Unresolved
    • Affects Version/s: 4.4.0
    • Fix Version/s: Backlog
    • Component/s: Logging, Performance
    • Labels:
      None

      Description

      The engagement determination will be based on whether the targetRateLimit (as seen in FTDC) is throttled to be less than the maximum. Every time the targetRateLimit transitions from "max" to "less than max", the "flow control engaged" message will be logged, and every time the targetRateLimit transitions from "less than max" to "max", the "flow control disengaged" message will be logged. Note that depending on the workload, these messages could be very noisy, so let's not introduce them at the default log level, but instead at debug log level 1.

      Original description:

      This is a feature request. The mongod error log has messages to indicate when flow control is engaged. This request is to log when it is disengaged. That makes it easier to see when flow control might explain performance problems.

      An example when it is engaged is:

      {"t":{"$date":"2020-09-03T20:18:35.656+00:00"},"s":"W",  "c":"STORAGE",  "id":22225,   "ctx":"FlowControlRefresher","msg":"Flow control is engaged and the sustainer point is not moving. Please check the health of all secondaries."}
      

        Attachments

          Activity

            People

            Assignee:
            backlog-server-execution Backlog - Execution Team
            Reporter:
            mark.callaghan Mark Callaghan (Inactive)
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated: