[GODRIVER-331] Use description.WriteSelector instead of a ReadPrefSelector 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: | Major - P3 |
| 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 |
|
Currently the write selector for the Database and Collection types is a read preference selector with Primary as the read preference. Since we have a write selector, we should use that instead of a read preference selector. |
| Comments |
| Comment by Githook User [ 06/Apr/18 ] |
|
Author: {'email': 'kris@mongodb.com', 'name': 'Kris Brandow', 'username': 'skriptble'}Message: Use description package and share selectors Use description.WriteSelector for write selectors. Change-Id: I8b5ef75f265840f34a2c7bdedc9636eaac571e94 |
| Comment by Kristofer Brandow (Inactive) [ 05/Apr/18 ] |
|
Code Review: https://review.gerrithub.io/c/406661/. |