Details
-
Task
-
Resolution: Won't Fix
-
Critical - P2
-
None
-
None
-
None
-
Query Execution
-
2
Description
The VectorClock is protected by a global mutex. When possible, it is preferential to avoid unnecessary calls to this global lock. One caller is the Variables::generateRuntimeConstants function which fetches the ClusterTime even though a query may never access $$CLUSTER_TIME. I believe it is possible to analyze the query for $$CLUSTER_TIME usage like $$USER_ROLES is checked for.
Attachments
Issue Links
- is related to
-
SERVER-80980 remove lock in VectorClock::isEnabled
-
- Closed
-