[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. Change-Id: I8910ae417d6eea11515bc1fb4a9c2babfa56a973 |
| Comment by Kristofer Brandow (Inactive) [ 05/Apr/18 ] |
|
Code Review: https://review.gerrithub.io/c/406657/. |