Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-1701

Reduce contention in CatalogManager::ScopedLeaderSharedLock

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.0.0
    • Fix Version/s: None
    • Component/s: master
    • Labels:
      None

      Description

      CatalogManager::ScopedLeaderSharedLock::ScopedLeaderSharedLock() currently holds a spinlock while accessing consensus->ConsensusState(). That call makes a copy of a protobuf, which requires allocation and a later deallocation. Every master lookup RPC needs to go through this path, so this can become a contention point under heavy multi-client load.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tlipcon Todd Lipcon
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: