Skip to content

Conversation

@NoahStapp
Copy link
Contributor

  • Is the relevant DRIVERS ticket in the PR title?

Update the server selection process to require server deprioritization on retries across all topologies. The summary of these changes are:

  • Enable server deprioritization on all topologies instead of only sharded.
  • Filter out deprioritized servers before applying read/write preferences.
  • Update changelog.
  • Test changes in at least one language driver: Python implementation.
  • Test these changes against all server versions and topologies (including standalone, replica set, and sharded
    clusters).

@NoahStapp NoahStapp requested review from a team as code owners December 8, 2025 19:42
@NoahStapp NoahStapp requested review from jmikola, jyemin and vector-of-bool and removed request for a team December 8, 2025 19:42
Copy link
Member

@blink1073 blink1073 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes LGTM from a backpressure standpoint

Copy link
Contributor

@Jibola Jibola left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@eramongodb eramongodb self-requested a review December 10, 2025 22:03
@NoahStapp NoahStapp requested a review from eramongodb December 11, 2025 15:23
Copy link
Contributor

@eramongodb eramongodb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor suggestions remaining; otherwise, LGTM.

Copy link
Contributor

@sleepyStick sleepyStick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!
love the "Why does server deprioritization use only server addresses and not ServerDescription objects?" section too!

Copy link
Contributor

@isabelatkinson isabelatkinson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

retryability changes LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants