[SERVER-14294] Queries on $cmd.sys.inprog (currOp) errors out when query is wrapped (readPref, hint, etc) Created: 18/Jun/14 Updated: 06/Dec/22 Resolved: 01/Apr/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Querying, Sharding |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Christian Amor Kvalheim | Assignee: | Backlog - Query Team (Inactive) |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Assigned Teams: |
Query
|
||||
| Operating System: | ALL | ||||
| Steps To Reproduce: | db.$cmd.sys.inprog.find({}).readPref("primary").limit(1) |
||||
| Participants: | |||||
| Description |
|
A query against $cmd.sys.inprog (and $cmd.sys.killop) with a readpreference set
This will either require drivers to specially filter these collections, to avoid errors, or a fix in the server to handle the $readPreference in some way (either ignore or respect it for mongos). |
| Comments |
| Comment by Craig Homa [ 01/Apr/19 ] |
|
The Query team believes that this may no longer be an issue, but our wire protocol has changed so much since 2014 that we likely wouldn't pursue a fix for this. |
| Comment by Gregory McKeon (Inactive) [ 28/Mar/19 ] |
|
Sending to query from Sharding's backlog review. |