[
https://issues.apache.org/jira/browse/KUDU-1701?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Grant Henke resolved KUDU-1701.
-------------------------------
Fix Version/s: 1.13.0
Resolution: Fixed
> 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
> Assignee: Alexey Serbin
> Priority: Minor
> Fix For: 1.13.0
>
>
> 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
(v8.3.4#803005)