You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by yi...@apache.org on 2026/01/27 00:04:50 UTC

(doris) branch branch-4.0 updated: branch-4.0: [fix](ms) Fix rate limit of batch get version #59368 (#60241)

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] <41...@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 <ta...@selectdb.com>
---
 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: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org