Reduce the number of mutex locks in ClusterCursorManager

XMLWordPrintableJSON

    • Query Execution
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      There are at least two cases where we can avoid some mutex locks in ClusterCursorManager class:

      • CursorStatsMetricPolicy::appendTo() calls ClusterCursorManager::getOpenCursorStats() and ClusterCursorManager::cursorsTimedOut(), both of which require a mutex lock. For both methods appendAtLeaf() is the only caller, so we can combine them.

            Assignee:
            Andrei-Cristian Murică
            Reporter:
            Romans Kasperovics
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: