Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-2299

Add "awaited" field to ServerHeartbeat events

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.11
    • Component/s: None
    • Labels:
      None

      Description

      DRIVERS-640 introduced the "awaited" field to ServerHeartbeat events:

      /**

      • Determines if this heartbeat event is for an awaitable isMaster. If
      • true, then the duration field cannot be used for RTT calculation
      • because the command blocks on the server.
        */
        awaited: Boolean;

      https://github.com/mongodb/specifications/blob/a813663/source/server-discovery-and-monitoring/server-discovery-and-monitoring-monitoring.rst#api

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              shane.harvey Shane Harvey
              Reporter:
              shane.harvey Shane Harvey
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: