You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "Mike Percy (JIRA)" <ji...@apache.org> on 2017/11/27 23:34:01 UTC
[jira] [Resolved] (KUDU-2124) Tablet copy service holds session
lock while initializing each session
[ https://issues.apache.org/jira/browse/KUDU-2124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mike Percy resolved KUDU-2124.
------------------------------
Resolution: Fixed
Fix Version/s: 1.6.0
Target Version/s: (was: 1.5.0)
Fixed by Dan in 449b5f59c5e5c19f7e9136c5bbf76200a90f23c4
> Tablet copy service holds session lock while initializing each session
> ----------------------------------------------------------------------
>
> Key: KUDU-2124
> URL: https://issues.apache.org/jira/browse/KUDU-2124
> Project: Kudu
> Issue Type: Bug
> Components: tserver
> Affects Versions: 1.4.0
> Reporter: Mike Percy
> Assignee: Dan Burkert
> Fix For: 1.6.0
>
>
> TabletCopyService holds the service-wide lock while initializing each session. Under heavy load, this can cause starvation, timeouts, and failures. Dan came up with a pstack that had a bunch of threads waiting on the same mutex while the holder was doing I/O:
> {code}
> #2 0x0000000001a45d72 in kudu::fs::LogBlockManager::OpenBlock(kudu::BlockId const&, std::unique_ptr<kudu::fs::ReadableBlock, std::default_delete<kudu::fs::ReadableBlock> >*) ()
> #3 0x0000000001a33939 in kudu::FsManager::OpenBlock(kudu::BlockId const&, std::unique_ptr<kudu::fs::ReadableBlock, std::default_delete<kudu::fs::ReadableBlock> >*) ()
> #4 0x00000000008e5edf in kudu::tserver::TabletCopySourceSession::OpenBlockUnlocked(kudu::BlockId const&) ()
> #5 0x00000000008e7b46 in kudu::tserver::TabletCopySourceSession::Init() ()
> #6 0x00000000008e1165 in kudu::tserver::TabletCopyServiceImpl::BeginTabletCopySession(kudu::tserver::BeginTabletCopySessionRequestPB const*, kudu::tserver::BeginTabletCopySessionResponsePB*, kudu::rpc::RpcContext*) ()
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)