You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "Todd Lipcon (JIRA)" <ji...@apache.org> on 2017/10/09 22:50:00 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16197831#comment-16197831 ]
Todd Lipcon commented on KUDU-2124:
-----------------------------------
[~mpercy] it seems this was fixed in 449b5f59c5e5c19f7e9136c5bbf76200a90f23c4. Should it be resolved?
> 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: Mike Percy
>
> 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)