[COMPASS-4852] Warn users when maxTimeMS > default and readPref includes primary? Created: 26/May/21 Updated: 23/Jan/23 |
|
| Status: | Open |
| Project: | Compass |
| Component/s: | Aggregation pipeline, Query Bar, UI / UX |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Anna Henningsen | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Story Points: | 3 |
| Description |
|
When a user expands maxTimeMS, chances are they are running very long queries that introduce load on the server. Should we warn about that in case they are connected to a replica set and the read preference allows querying the primary? |