patch some bugfixs into opensource

This commit is contained in:
lck0
2021-07-26 11:30:14 +08:00
committed by wangzelin.wzl
parent 821da37d63
commit f2b3572e34
11 changed files with 68 additions and 43 deletions

View File

@ -200,7 +200,6 @@ int ObPxSqcAsyncProxy::wait_all()
} else {
results_.at(idx) = &cb_result;
}
sqcs_.at(idx)->set_need_report(true);
} else {
// RPC framework error, need no retry
ret = callback.get_ret_code().rcode_;
@ -273,10 +272,6 @@ void ObPxSqcAsyncProxy::fail_process()
LOG_DEBUG("async sql fails, wait all callbacks", K(return_cb_count_), K(callbacks_.count()));
callback.set_visited(true);
}
// same condition with ObPxSqcAsyncProxy::wait_all().
if (callback.get_ret_code().rcode_ == OB_SUCCESS && callback.is_processed()) {
sqcs_.at(idx)->set_need_report(true);
}
}
}
cond_.wait_us(500);