[CDRIVER-4204] PossiblePrimary must not be checked for wire version compatibility of MaxStalenessSeconds Created: 26/Oct/21  Updated: 28/Oct/23  Resolved: 08/Nov/21

Status: Closed
Project: C Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 1.20.0

Type: Spec Change Priority: Minor - P4
Reporter: PM Bot Assignee: Kevin Albertson
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by PHPC-1999 PossiblePrimary must not be checked f... Closed
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.


 Description   

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



 Comments   
Comment by Githook User [ 27/Apr/23 ]

Author:

{'name': 'Ezra Chung', 'email': '88335979+eramongodb@users.noreply.github.com', 'username': 'eramongodb'}

Message: CDRIVER-4629 Remove code requiring maxWireVersion less than WIRE_VERSION_OP_MSG (#1248)

  • Update /retryable_writes/failover to account for WIRE_VERSION_RETRYABLE_WRITE_ERROR_LABEL
  • Update /inheritance/aggregate to account for CDRIVER-3893
  • Remove references to WIRE_VERSION_FIND_CMD
  • Remove references to WIRE_VERSION_KILLCURSORS_CMD
  • Remove references to WIRE_VERSION_FAM_WRITE_CONCERN
  • Remove references to WIRE_VERSION_READ_CONCERN
  • Remove references to WIRE_VERSION_MAX_STALENESS
  • Remove references to WIRE_VERSION_CMD_WRITE_CONCERN
  • Remove references to WIRE_VERSION_COLLATION
  • Remove references to WIRE_VERSION_HINT_SERVER_SIDE_ERROR
  • Remove references to WIRE_VERSION_ARRAY_FILTERS
  • Remove references to WIRE_VERSION_RETRY_READS
  • Remove references to WIRE_VERSION_RETRY_WRITES
  • Remove references to WIRE_VERSION_OP_MSG
Comment by Githook User [ 08/Nov/21 ]

Author:

{'name': 'Kevin Albertson', 'email': 'kevin.albertson@mongodb.com', 'username': 'kevinAlbs'}

Message: CDRIVER-4204 / CDRIVER-4152 resync max staleness tests (#888)
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/e16cc6f6b60bb9f84ee3b4e8bad49176bb5df652

Comment by Kevin Albertson [ 08/Nov/21 ]

PR: https://github.com/mongodb/mongo-c-driver/pull/888

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