fix thread_idx of IO_SCHEDULE

This commit is contained in:
nroskill 2024-03-25 08:21:32 +00:00 committed by ob-robot
parent 02791e55d3
commit e15e7a5899

View File

@ -1119,7 +1119,7 @@ void ObIOSender::stop_submit()
void ObIOSender::run1() void ObIOSender::run1()
{ {
int ret = OB_SUCCESS; int ret = OB_SUCCESS;
const int64_t thread_id = get_thread_idx(); const int64_t thread_id = sender_index_;
if (OB_UNLIKELY(!is_inited_)) { if (OB_UNLIKELY(!is_inited_)) {
ret = OB_NOT_INIT; ret = OB_NOT_INIT;
LOG_WARN("not init", K(ret), K(is_inited_)); LOG_WARN("not init", K(ret), K(is_inited_));