Consider using ObservableMutex for Query Integration mutexes

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Integration
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Filed after cloning SERVER-111657:
      With the ObservableMutex feature enabled in SERVER-106634, we can now have greater observability into the cost of mutex contention. Please consider identifiing critical long-lived mutexes that could benefit from this feature and enabling them following this usage guide. This feature is already enabled for ServiceContext, ReplicationCoordinator, TransactionCoordinator, Grid, SessionManager, and ConnectionPool mutexes.

      I think this makes sense for the query stats store metric. Particularly if we have changes in $queryStats traffic pattern from query shape insights or the like. Might also make sense within the rate limiting code.

            Assignee:
            Unassigned
            Reporter:
            Charlie Swanson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: