-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Networking & Observability
DBClientBase constructs commands using the logic meant to upconvert legacy OP_QUERY commands rather than just producing OP_MSG encoded messages directly. We should update it to stop doing this so we can delete some of this legacy code.
As part of this, we may need to change the mongo runCommand helpers, as they currently use flags like SecondaryOK for specifying secondary read preferences.
- related to
-
SERVER-29091 Stop putting $readPreference inside of $queryOptions in mongos
- In Code Review