[
https://issues.apache.org/jira/browse/KUDU-1064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15302635#comment-15302635
]
Todd Lipcon commented on KUDU-1064:
-----------------------------------
Just a note that this is still the case.
> /tablets web page can block during leader elections
> ---------------------------------------------------
>
> Key: KUDU-1064
> URL: https://issues.apache.org/jira/browse/KUDU-1064
> Project: Kudu
> Issue Type: Bug
> Components: tserver
> Affects Versions: Private Beta
> Reporter: Todd Lipcon
>
> During startup of a server with a lot of tablets, I tried to load /tablets,
> and it took tens of seconds. Finally got a pstack, and the web handler is
> stuck at:
> {code}
> Thread 5 (Thread 0x7f5d0ee82700 (LWP 18625)):
> #0 0x000000000077007c in sys_futex ()
> #1 0x00000000007701bf in base::internal::SpinLockDelay(int volatile*, int,
> int) ()
> #2 0x00000000012b85f0 in base::SpinLock::SlowLock() ()
> #3 0x00000000008e19a2 in
> kudu::consensus::ReplicaState::LockForRead(kudu::unique_lock<kudu::simple_spinlock>*)
> const ()
> #4 0x00000000008d5db5 in
> kudu::consensus::RaftConsensus::CommittedConsensusState() const ()
> #5 0x00000000007225fb in
> kudu::tserver::TabletServerPathHandlers::HandleTabletsPage(kudu::WebCallbackRegistry::WebRequest
> const&, std::basic_stringstream<char, std::char_traits<char>,
> std::allocator<char> >*) ()
> {code}
> I believe the thread holding the lock is blocked on IO to write down votes
> (many threads are hung in IO right now).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)