From 59bf305c5d9600ba553fcb5759befe04a1fee8fa Mon Sep 17 00:00:00 2001 From: lihangyu <15605149486@163.com> Date: Sun, 5 Mar 2023 10:36:50 +0800 Subject: [PATCH] [Improve](point query) put tablet fetch interface which is high concurrent point query operation to light_work_pool (#17400) Since the point query lookup is very light weight --- be/src/service/internal_service.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/be/src/service/internal_service.cpp b/be/src/service/internal_service.cpp index db76453d76..b1a48d25ff 100644 --- a/be/src/service/internal_service.cpp +++ b/be/src/service/internal_service.cpp @@ -542,7 +542,7 @@ void PInternalServiceImpl::tablet_fetch_data(google::protobuf::RpcController* co const PTabletKeyLookupRequest* request, PTabletKeyLookupResponse* response, google::protobuf::Closure* done) { - bool ret = _heavy_work_pool.try_offer([this, controller, request, response, done]() { + bool ret = _light_work_pool.try_offer([this, controller, request, response, done]() { [[maybe_unused]] brpc::Controller* cntl = static_cast(controller); brpc::ClosureGuard guard(done); Status st = _tablet_fetch_data(request, response);