[CXX-2566] SDAM should prioritize electionId over setVersion only on >=6.0 servers Created: 15/Aug/22  Updated: 30/Aug/23

Status: Blocked
Project: C++ Driver
Component/s: SDAM
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Unknown
Reporter: PM Bot Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on CXX-2087 Implement All Relevant Spec Tests Backlog
Duplicate
is duplicated by CXX-2404 SDAM should give priority to election... Closed
Issue split
split from DRIVERS-2412 SDAM should prioritize electionId ove... Implementing
Quarter: FY23Q3
Upstream Changes Summary:

DRIVERS-2412:

  • Sync spec changes in 37c32c
  • Confirm tests fail with current updateRSFromPrimary implementation
  • Summary of updateRSFromPrimary changes:
    • If maxWireVersion 17 or greater
    • Prioritize electionId before setVersion
    • Handle nullish values for both setVersion and electionId
    • always set maxElectionId and maxSetVersion together (they are a tuple value)
  • Confirm tests pass with changes

Join #drivers-2412-sdam-should-prioritize-electionid-over-setversion on slack for any questions


 Description   

This ticket was split from DRIVERS-2412, please see that ticket for a detailed description.


Generated at Wed Feb 07 22:06:21 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.