This is an automated email from the ASF dual-hosted git repository.

dataroaring pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 59bf305c5d [Improve](point query) put tablet fetch interface which is 
high concurrent point query operation to light_work_pool (#17400)
59bf305c5d is described below

commit 59bf305c5d9600ba553fcb5759befe04a1fee8fa
Author: lihangyu <15605149...@163.com>
AuthorDate: Sun Mar 5 10:36:50 2023 +0800

    [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<brpc::Controller*>(controller);
         brpc::ClosureGuard guard(done);
         Status st = _tablet_fetch_data(request, response);


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to