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

Add "awaited" field to ServerHeartbeat events

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.11
    • None
    • 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

              shane.harvey@mongodb.com Shane Harvey
              shane.harvey@mongodb.com Shane Harvey
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: