[DRIVERS-293] Allow users to set a limit on acceptable staleness Created: 01/Mar/16  Updated: 27/May/22  Resolved: 19/Oct/16

Status: Closed
Project: Drivers
Component/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Rathi Gnanasekaran Assignee: Barrie Segal
Resolution: Done Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on CDRIVER-1363 Implement maxStalenessMS Closed
depends on CSHARP-1720 Allow users to set a limit on accepta... Closed
depends on CXX-975 Allow users to set a limit on accepta... Closed
depends on CXX-976 Allow users to set a limit on accepta... Closed
depends on JAVA-2248 Allow users to set a limit on accepta... Closed
depends on NODE-773 Allow users to set a limit on accepta... Closed
depends on PHPC-752 Allow users to set a limit on accepta... Closed
depends on PHPLIB-207 Allow users to set a limit on accepta... Closed
depends on PYTHON-1104 Implement maxStalenessMS Closed
depends on RUBY-1133 Allow users to set a limit on accepta... Closed
depends on RUST-33 Allow users to set a limit on accepta... Closed
Duplicate
is duplicated by DRIVERS-237 Include replication lag as a method f... Closed
Related
related to DRIVERS-336 Change "no maxStalenessSeconds" value... Closed
related to DRIVERS-335 Update Max Staleness implementation Closed
is related to SERVER-24421 maxStalenessMS support in mongos Closed
Server Compat: 3.4
Start date:
Driver Compliance:
Key Status/Resolution FixVersion
PERL-626 Done 1.6.0
PYTHON-1104 Done 3.4
CDRIVER-1363 Done 1.4.0
JAVA-2248 Done 3.4.0
CSHARP-1720 Done 2.4
CXX-975 Won't Fix
PHPC-752 Done 1.2.0-alpha3, 1.2.0
CXX-976 Done 3.1.0
RUBY-1133 Done 2.4.0
SCALA-251 Done
PHPLIB-207 Done
NODE-773 Done 2.2.7
RUST-33 Duplicate

 Description   

It should be possible for a user or operator to set a limit on how stale a member might be before allowing queries.
An extension of this would be to improve driver discovery such that they do not choose a node that is excessively stale, when serving reads

Max staleness spec



 Comments   
Comment by Rathi Gnanasekaran [ 19/Oct/16 ]

Closing as all linked tickets are done.

Comment by Jeremy Mikola [ 11/Oct/16 ]

Implemented in PHPC and HHVM, which satisfies PHPLIB.

Will not implement for legacy PHP.

Generated at Thu Feb 08 08:21:11 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.