Details
-
Task
-
Resolution: Unresolved
-
Major - P3
-
None
-
None
-
None
-
Service Arch
Description
We seem to be using this idiom in a growing number of places in the query codebase:
const auto isInternalClient = !opCtx->getClient()->session() || |
(opCtx->getClient()->session()->getTags() & transport::Session::kInternalClient);
|
It would be nice to have a helper Client::isInternal().
—
In addition to introducing the helper function, existing code that explicitly checks the `kInternalClient` flag should use the new helper function when possible.
Attachments
Issue Links
- is related to
-
SERVER-71099 Remove Session Tags and Cleanup Egress Tag Closer
-
- Closed
-