[SERVER-24421] maxStalenessMS support in mongos Created: 06/Jun/16  Updated: 03/May/17  Resolved: 19/Jul/16

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 3.3.9

Type: New Feature Priority: Major - P3
Reporter: A. Jesse Jiryu Davis Assignee: Misha Tyulenev
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
is documented by DOCS-8723 3.4: add maxStalenessSeconds to read ... Closed
is documented by DOCS-9536 Docs for SERVER-24421: maxStalenessMS... Closed
Related
related to SERVER-24676 Implement support for maxStalenessMS... Closed
related to DRIVERS-293 Allow users to set a limit on accepta... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding 16 (06/24/16), Sharding 17 (07/15/16), Sharding 18 (08/05/16)
Participants:

 Description   

Support a new readPreference option:

{ ... fields ..., $readPreference: {mode: "nearest", maxStalenessMS: 30000}}

See the soon-to-be-published Max Staleness spec and related changes to the Server Discovery And Monitoring and the Server Selection Specs for behavior details.



 Comments   
Comment by Misha Tyulenev [ 19/Jul/16 ]

See SERVER-24676 comments

Comment by Githook User [ 09/Jun/16 ]

Author:

{u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}

Message: SERVER-24421 Add MaxStalenessOutOfRange error code.

Closes #1089

Signed-off-by: Ramon Fernandez <ramon@mongodb.com>
Branch: master
https://github.com/mongodb/mongo/commit/e8ac632f9ce47e7febfd4737ee743bfcba219688

Comment by A. Jesse Jiryu Davis [ 08/Jun/16 ]

Pull request to add error code 160, "MaxStalenessOutOfRange".

Generated at Thu Feb 08 04:06:19 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.