[fix](load) Fix the issue of high-concurrency single-replica load getting stuck #42297 (#42317)

cherry pick from #42297
This commit is contained in:
Xin Liao
2024-10-23 23:28:05 +08:00
committed by GitHub
parent ccff47e813
commit 86fa6a37c7

View File

@ -1977,7 +1977,7 @@ void PInternalServiceImpl::_response_pull_slave_rowset(const std::string& remote
void PInternalServiceImpl::response_slave_tablet_pull_rowset(
google::protobuf::RpcController* controller, const PTabletWriteSlaveDoneRequest* request,
PTabletWriteSlaveDoneResult* response, google::protobuf::Closure* done) {
bool ret = _heavy_work_pool.try_offer([request, response, done]() {
bool ret = _light_work_pool.try_offer([request, response, done]() {
brpc::ClosureGuard closure_guard(done);
VLOG_CRITICAL << "receive the result of slave replica pull rowset from slave replica. "
"slave server="