node-mongodb-native icon indicating copy to clipboard operation
node-mongodb-native copied to clipboard

fix(NODE-6171): Ensure that rtt is correctly measured

Open W-A-James opened this issue 1 year ago • 0 comments

Description

What is changing?

Is there new documentation needed for these changes?

No

What is the motivation for this change?

NODE-6171

Release Highlight

Server Selection performance regression due to incorrect rtt measurement

Starting in version 6.6.0, when using the stream server monitoring mode, heartbeats were incorrectly timed as having a duration of 0, leading to server selection viewing each server as equally desirable for selection.

Double check the following

  • [X] Ran npm run check:lint script
  • [X] Self-review completed using the steps outlined here
  • [X] PR title follows the correct format: type(NODE-xxxx)[!]: description
    • Example: feat(NODE-1234)!: rewriting everything in coffeescript
  • [X] Changes are covered by tests
  • [ ] New TODOs have a related JIRA ticket

W-A-James avatar May 14 '24 16:05 W-A-James