Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-2951

Test serverMonitoringMode=poll waits after a successful heartbeat

    • Type: Icon: Spec Change Spec Change
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Component/s: SDAM
    • None
    • Needed
    • Hide

      Summary of necessary driver changes

      •  Drivers should resync the {{server-discovery-and-
        monitoring/tests/unified/serverMonitoringMode.yml/json}} test.

      Commits for syncing spec/prose tests
      (and/or refer to an existing language POC if needed)

      Context for other referenced/linked tickets

      Show
      Summary of necessary driver changes  Drivers should resync the {{server-discovery-and- monitoring/tests/unified/serverMonitoringMode.yml/json}} test. Commits for syncing spec/prose tests (and/or refer to an existing language POC if needed)   https://github.com/mongodb/specifications/commit/121be10445b4df54eec5c40b924d8e3c90609cd2 Context for other referenced/linked tickets  This test depends on DRIVERS-2366 .
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      CDRIVER-5647 Backlog
      CXX-3084 Blocked
      CSHARP-5213 Fixed 3.0.0
      GODRIVER-3295 Backlog
      JAVA-5564 Backlog
      NODE-6303 Backlog
      MOTOR-1349 Duplicate
      PYTHON-4605 Fixed 4.9
      PHPLIB-1497 Blocked
      RUBY-3527 Blocked
      RUST-2011 Backlog
      $i18n.getText("admin.common.words.show")
      #scriptField, #scriptField *{ border: 1px solid black; } #scriptField{ border-collapse: collapse; } #scriptField td { text-align: center; /* Center-align text in table cells */ } #scriptField td.key { text-align: left; /* Left-align text in the Key column */ } #scriptField a { text-decoration: none; /* Remove underlines from links */ border: none; /* Remove border from links */ } /* Add green background color to cells with FixVersion */ #scriptField td.hasFixVersion { background-color: #00FF00; /* Green color code */ } /* Center-align the first row headers */ #scriptField th { text-align: center; } Key Status/Resolution FixVersion CDRIVER-5647 Backlog CXX-3084 Blocked CSHARP-5213 Fixed 3.0.0 GODRIVER-3295 Backlog JAVA-5564 Backlog NODE-6303 Backlog MOTOR-1349 Duplicate PYTHON-4605 Fixed 4.9 PHPLIB-1497 Blocked RUBY-3527 Blocked RUST-2011 Backlog

      Summary

      A test should be added to Heartbeat Tests to ensure that when serverMonitoringMode=poll, SDAM awaits the full heartbeatFrequency before handshaking with the server.

      Motivation

      An external user reported GODRIVER-3255 which describes a bug where the server is flooded with heartbeats when serverMonitoringMode=poll. The tests defined in DRIVERS-2578 do not cover this case.

      Is this issue urgent?

      No

      Is this ticket required by a downstream team?

      No

      Is this ticket only for tests?

      Yes

      Acceptance Criteria

      Generalize the prose test defined in mongodb/mongo-go-driver PR #1720.

            Assignee:
            shane.harvey@mongodb.com Shane Harvey
            Reporter:
            preston.vasquez@mongodb.com Preston Vasquez
            Shane Harvey Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: