[SERVER-18456] Deduplicate 'canRunHere' logic in Command::execCommand and CmdExplain Created: 13/May/15  Updated: 06/Dec/22  Resolved: 20/Dec/16

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Adam Midvidy 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

Assigned Teams:
Query
Participants:

 Description   

To do this we should have explain be the first command that uses the OP_COMMAND builder classes natively w/o downconversion.



 Comments   
Comment by Adam Midvidy [ 13/May/15 ]

Also note that Query::hasReadPreference will only return true for "complex queries" - not new find commands that have a $readPreference field.

Generated at Thu Feb 08 03:47:45 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.