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

yiguolei pushed a commit to branch branch-4.0
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-4.0 by this push:
     new 658a01c2b98 branch-4.0: [fix](ms) Fix rate limit of batch get version 
#59368 (#60241)
658a01c2b98 is described below

commit 658a01c2b9890e002e30f80ba632a3ef8f41d40c
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Tue Jan 27 08:04:41 2026 +0800

    branch-4.0: [fix](ms) Fix rate limit of batch get version #59368 (#60241)
    
    Cherry-picked from #59368
    
    Co-authored-by: Siyang Tang <[email protected]>
---
 cloud/src/meta-service/meta_service.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/cloud/src/meta-service/meta_service.cpp 
b/cloud/src/meta-service/meta_service.cpp
index bca6eea8c09..768937267a0 100644
--- a/cloud/src/meta-service/meta_service.cpp
+++ b/cloud/src/meta-service/meta_service.cpp
@@ -423,6 +423,8 @@ void 
MetaServiceImpl::batch_get_version(::google::protobuf::RpcController* contr
         return;
     }
 
+    RPC_RATE_LIMIT(get_version);
+
     if (is_version_read_enabled(instance_id)) {
         if (is_table_version) {
             std::tie(code, msg) = batch_get_table_versions(request, response, 
instance_id, stats);


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to