[DOCS-13981] Documentation for "nearest" read preference is incorrect Created: 11/Nov/20 Updated: 30/Oct/23 Resolved: 13/Jan/21 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | manual, Server |
| Affects Version/s: | None |
| Fix Version/s: | Server_Docs_20231030 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Shane Harvey | Assignee: | Andrew Feierabend (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: | |
| Days since reply: | 3 years, 2 weeks, 2 days ago |
| Epic Link: | DOCSP-11701 |
| Story Points: | 3 |
| Description |
DescriptionThe documentation for "nearest" read preference is incorrect, specifically on this line:
This is misleading because it makes it seems like "nearest" will always select the server with the lowest network latency but this is not the case. "Nearest" actually selects a server (primary or secondary) in the localThresholdMS latency window at random. So it's even possible that "nearest" will select the server with the highest network latency. The driver server selection spec explains this behavior and the unfortunate naming pretty clearly:
Scope of changesImpact to Other DocsMVP (Work and Date)Resources (Scope or Design Docs, Invision, etc.) |
| Comments |
| Comment by Githook User [ 25/Jan/21 ] |
|
Author: {'name': 'Andrew Feierabend', 'email': 'andrew.feierabend@mongodb.com', 'username': 'andf-mongodb'}Message: |
| Comment by Githook User [ 13/Jan/21 ] |
|
Author: {'name': 'Andrew Feierabend', 'email': 'andrew.feierabend@mongodb.com', 'username': 'andf-mongodb'}Message: |
| Comment by Githook User [ 13/Jan/21 ] |
|
Author: {'name': 'Andrew Feierabend', 'email': 'andrew.feierabend@mongodb.com', 'username': 'andf-mongodb'}Message: |
| Comment by Githook User [ 13/Jan/21 ] |
|
Author: {'name': 'Andrew Feierabend', 'email': 'andrew.feierabend@mongodb.com', 'username': 'andf-mongodb'}Message: |
| Comment by Githook User [ 13/Jan/21 ] |
|
Author: {'name': 'Andrew Feierabend', 'email': 'andrew.feierabend@mongodb.com', 'username': 'andf-mongodb'}Message: |
| Comment by Githook User [ 13/Jan/21 ] |
|
Author: {'name': 'Andrew Feierabend', 'email': 'andrew.feierabend@mongodb.com', 'username': 'andf-mongodb'}Message: |