提交 f9d5fb8f 编写于 作者: L ly0 提交者: wangzelin.wzl

add thread name reset in ObThWorker::reset()

上级 11d367b6
......@@ -19,6 +19,7 @@
#include "lib/coro/co.h"
#include "rpc/ob_request.h"
#include "lib/coro/co_user_thread.h"
#include "lib/thread/ob_thread_name.h"
namespace oceanbase {
......@@ -184,6 +185,7 @@ inline void ObThWorker::reset()
ws_ = WStatus::STOPPED;
active_ = false;
unset_tidx();
lib::set_thread_name("OMT_FREE", ObWorker::get_tidx());
}
inline void ObThWorker::set_tenant(ObTenant* tenant)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册