[GODRIVER-333] ReadPref selector should use feature.MaxStaleness Created: 04/Apr/18  Updated: 06/Apr/18  Resolved: 06/Apr/18

Status: Closed
Project: Go Driver
Component/s: None
Affects Version/s: 0.0.2
Fix Version/s: 0.0.3

Type: Improvement Priority: Minor - P4
Reporter: Kristofer Brandow (Inactive) Assignee: Kristofer Brandow (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

The description.ReadPrefSelector currently handles the logic for checking if a MaxStaleness feature is allowed directly instead of using the feature.MaxStaleness function. Update description.ReadPrefSelector to use feature.MaxStaleness.



 Comments   
Comment by Githook User [ 06/Apr/18 ]

Author:

{'email': 'kris@mongodb.com', 'name': 'Kris Brandow', 'username': 'skriptble'}

Message: Update ReadPrefSelector and move feature package

Updates ReadPrefSelector to use MaxStalenessSupported.
Merges the feature package into the description package.

GODRIVER-333

Change-Id: I8910ae417d6eea11515bc1fb4a9c2babfa56a973
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/90ebefff2ab477ac9f78136312e5640f80e8eba6

Comment by Kristofer Brandow (Inactive) [ 05/Apr/18 ]

Code Review: https://review.gerrithub.io/c/406657/.

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