[JAVA-4376] PossiblePrimary must not be checked for wire version compatibility of MaxStalenessSeconds Created: 26/Oct/21  Updated: 28/Oct/23  Resolved: 29/Oct/21

Status: Closed
Project: Java Driver
Component/s: Test Coverage
Affects Version/s: None
Fix Version/s: 4.4.0

Type: Improvement Priority: Minor - P4
Reporter: PM Bot Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: spec-compliance
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Issue split
Upstream Changes Summary:

DRIVERS-1912:
The Max Staleness specification requires drivers check wire version for support of maxStalenessSeconds:

Clients are required to throw an error if maxStalenessSeconds is set, and any server in the topology has maxWireVersion less than 5.

Servers of type PossiblePrimary must not be considered in this check, since they have no known maxWireVersion.

Backwards Compatibility: Fully Compatible
Documentation Changes: Not Needed

 Description   

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



 Comments   
Comment by Githook User [ 29/Oct/21 ]

Author:

{'name': 'jyemin', 'email': 'jeff.yemin@mongodb.com', 'username': 'jyemin'}

Message: Update spec tests

JAVA-4376
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/0bd1e308f6cf1b4049267b36afa84d0f2fbfb1e4

Generated at Thu Feb 08 09:01:55 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.