SERVER-123131ClosedFixed

Mark resharding commands as internal for query stats

We sometimes record internal operations (resharding, etc.) in query stats. These operations should be marked as internal, We should also confirm we record some types of resharding/balancing operations. Notably, user queries where mongos knows its an external client and then mongos send a query to mongod should not be marked as internal for the purposes of query stats. This query should still be considered external (or not marked as internal) Add isInternal to the key so internal operations ar

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix
9.1.0-rc0
Components
Server components related to this issue
Querying
Labels
Tags and classification

No labels assigned.