Skip to content

Conversation

@prestonvasquez
Copy link
Member

@prestonvasquez prestonvasquez commented Jan 26, 2026

DRIVERS-3380

Test scenario:

  1. Op to primary b:27017
  2. Op fails
  3. Driver adds b:27017 as RSPrimary to deprioritized list
  4. Meanwhile, b:27017 loses election, steps down to RSSecondary
  5. Retry happens, should still avoid b:27017

Please complete the following before merging:

  • Is the relevant DRIVERS ticket in the PR title?

@prestonvasquez prestonvasquez requested a review from a team as a code owner January 26, 2026 21:40
@prestonvasquez prestonvasquez requested review from NoahStapp and vector-of-bool and removed request for a team January 26, 2026 21:40
Copy link
Contributor

@baileympearson baileympearson left a comment

Choose a reason for hiding this comment

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

@prestonvasquez prestonvasquez merged commit 9e2acc6 into mongodb:master Jan 28, 2026
6 checks passed
@prestonvasquez prestonvasquez deleted the improvement/drivers3880-add-ust-for-deprioritized-nearest-state-change branch January 28, 2026 17:27
Copy link
Contributor

@vector-of-bool vector-of-bool left a comment

Choose a reason for hiding this comment

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

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.

4 participants