[ 
https://issues.apache.org/jira/browse/KUDU-760?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Todd Lipcon updated KUDU-760:
-----------------------------
    Priority: Trivial  (was: Major)

> Rare ThreadRestrictions shutdown CHECK failure
> ----------------------------------------------
>
>                 Key: KUDU-760
>                 URL: https://issues.apache.org/jira/browse/KUDU-760
>             Project: Kudu
>          Issue Type: Bug
>          Components: consensus
>    Affects Versions: M5
>            Reporter: Mike Percy
>            Priority: Trivial
>         Attachments: client-test.txt
>
>
> Seems like a really bizarre interaction between reactor thread restrictions 
> and consensus at shutdown time. I almost don't believe it, but here it is so 
> noting it down to investigate later. The log is a little weird and garbled 
> but seems to have happened in ClientTest.TestScanFaultTolerance:
> {noformat}
> F0513 04:22:40.899718 12760 thread_restrictions.cc:57] Check failed: 
> LoadTLS()->wait_allowed Waiting is not allowed to be used on this thread to 
> prevent server-wide latency aberrations and deadlocks.
> *** Check failure stack trace: ***
>     @     0x7f7d6fe0b38d  google::LogMessage::Fail() at ??:0
>     @     0x7f7d6fe0d22d  google::LogMessage::SendToLog() at ??:0
>     @     0x7f7d6fe0af7c  google::LogMessage::Flush() at ??:0
>     @     0x7f7d6fe0db4e  google::LogMessageFatal::~LogMessageFatal() at ??:0
>     @     0x7f7d67d69d42  kudu::ThreadRestrictions::AssertWaitAllowed() at 
> ??:0
>     @     0x7f7d6c26f2f7  kudu::consensus::ReplicaState::LockForShutdown() at 
> ??:0
>     @     0x7f7d6c25f574  kudu::consensus::RaftConsensus::Shutdown() at ??:0
>     @     0x7f7d6c24f289  kudu::consensus::RaftConsensus::~RaftConsensus() at 
> ??:0
>     @     0x7f7d6c24f443  kudu::consensus::RaftConsensus::~RaftConsensus() at 
> ??:0
>     @     0x7f7d6c269225  kudu::internal::BindState<>::~BindState() at ??:0
>     @     0x7f7d6c2692d3  kudu::internal::BindState<>::~BindState() at ??:0
>     @     0x7f7d6c216f44  kudu::consensus::LeaderElection::~LeaderElection() 
> at ??:0
>     @     0x7f7d6c21f2e3  kudu::RefCountedThreadSafe<>::DeleteInternal() at 
> ??:0
>     @     0x7f7d6c21f115  kudu::internal::BindState<>::~BindState() at ??:0
>     @     0x7f7d6c21f1d3  kudu::internal::BindState<>::~BindState() at ??:0
>     @     0x7f7d6c21e3de  
> boost::detail::function::functor_manager<>::manager() at ??:0
>     @     0x7f7d6f924e8e  boost::function0<>::clear() at ??:0
>     @     0x7f7d68f6f092  boost::function<>::operator=() at ??:0
>     @     0x7f7d68f6ae8d  kudu::rpc::OutboundCall::CallCallback() at ??:0
>     @     0x7f7d68f6b88d  kudu::rpc::OutboundCall::SetFailed() at ??:0
>     @     0x7f7d68f77125  kudu::rpc::Connection::Shutdown() at ??:0
>     @     0x7f7d68fb3604  kudu::rpc::ReactorThread::DestroyConnection() at 
> ??:0
>     @     0x7f7d68fb6170  
> kudu::rpc::ReactorThread::CompleteConnectionNegotiation() at ??:0
>     @     0x7f7d68f8a913  kudu::rpc::NegotiationCompletedTask::Run() at ??:0
>     @     0x7f7d68fb2bf5  kudu::rpc::ReactorThread::AsyncHandler() at ??:0
>     @     0x7f7d68c56525  ev_invoke_pending at ??:0
>     @     0x7f7d68c59765  ev_run at ??:0
>     @     0x7f7d68fb0211  kudu::rpc::ReactorThread::RunThread() at ??:0
>     @     0x7f7d68fc8acc  boost::_bi::bind_t<>::operator()() at ??:0
>     @     0x7f7d68f6efbb  boost::function0<>::operator()() at ??:0
>     @     0x7f7d67d4e078  kudu::Thread::SuperviseThread() at ??:0
>     @     0x7f7d6a69e182  start_thread at ??:0
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to