fix das retry thread deadlock
This commit is contained in:
@ -580,6 +580,7 @@ OB_NOINLINE int ObMPQuery::process_with_tmp_context(ObSQLSessionInfo &session,
|
||||
bool &need_disconnect)
|
||||
{
|
||||
int ret = OB_SUCCESS;
|
||||
oceanbase::lib::Thread::WaitGuard guard(oceanbase::lib::Thread::WAIT_FOR_LOCAL_RETRY);
|
||||
//create a temporary memory context to process retry or the rest sql of multi-query,
|
||||
//avoid memory dynamic leaks caused by query retry or too many multi-query items
|
||||
lib::ContextParam param;
|
||||
|
||||
Reference in New Issue
Block a user