Todd Lipcon created KUDU-1701:
---------------------------------

             Summary: Reduce contention in 
CatalogManager::ScopedLeaderSharedLock 
                 Key: KUDU-1701
                 URL: https://issues.apache.org/jira/browse/KUDU-1701
             Project: Kudu
          Issue Type: Improvement
          Components: master
    Affects Versions: 1.0.0
            Reporter: Todd Lipcon
            Priority: Minor


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to