Skip to content

Conversation

@baileympearson
Copy link
Contributor

@baileympearson baileympearson commented Dec 9, 2025

Description

Summary of Changes

This PR does two things:

  • First, it allows for multiple deprioritized servers to be passed to server selection instead of only the most recently used server.
  • Second, it allows deprioritized servers to be used on all topologies.
Notes for Reviewers

I made some cleanups to server selection in this PR - I've commented them in the file. I am happy to revert any or put them in a separate PR if that makes the review easier.

What is the motivation for this change?

Release Highlight

Release notes highlight

Double check the following

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

@baileympearson baileympearson changed the title WIP feat(DRIVERS-3344): add support for deprioritized servers to all topologies feat(DRIVERS-3344): add support for deprioritized servers to all topologies Dec 16, 2025
@baileympearson baileympearson marked this pull request as ready for review December 16, 2025 15:16
@baileympearson baileympearson requested a review from a team as a code owner December 16, 2025 15:17
@durran durran self-assigned this Dec 17, 2025
@durran durran added the Primary Review In Review with primary reviewer, not yet ready for team's eyes label Dec 17, 2025
@dariakp dariakp changed the title feat(DRIVERS-3344): add support for deprioritized servers to all topologies feat(NODE-7333): add support for deprioritized servers to all topologies Dec 17, 2025
@durran durran merged commit a4211e7 into main Dec 18, 2025
24 of 29 checks passed
@durran durran deleted the DRIVERS-3344 branch December 18, 2025 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Primary Review In Review with primary reviewer, not yet ready for team's eyes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants