This is an automated email from the ASF dual-hosted git repository.
gavinchou 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 5434070b634 [fix](cloud) change cloud FE getVersion rpc metric to
getTableVersion and getPartitionVersion (#60745)
5434070b634 is described below
commit 5434070b6343936d0a971b09651ed1006949961b
Author: meiyi <[email protected]>
AuthorDate: Sat Feb 28 11:35:31 2026 +0800
[fix](cloud) change cloud FE getVersion rpc metric to getTableVersion and
getPartitionVersion (#60745)
---
.../src/main/java/org/apache/doris/cloud/rpc/MetaServiceProxy.java | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git
a/fe/fe-core/src/main/java/org/apache/doris/cloud/rpc/MetaServiceProxy.java
b/fe/fe-core/src/main/java/org/apache/doris/cloud/rpc/MetaServiceProxy.java
index 90e3a9276cf..e28a1d40f05 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/cloud/rpc/MetaServiceProxy.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/cloud/rpc/MetaServiceProxy.java
@@ -286,7 +286,8 @@ public class MetaServiceProxy {
public Future<Cloud.GetVersionResponse>
getVisibleVersionAsync(Cloud.GetVersionRequest request)
throws RpcException {
long startTime = System.currentTimeMillis();
- String methodName = "getVersion";
+ String methodName = request.hasIsTableVersion() &&
request.getIsTableVersion() ? "getTableVersion"
+ : "getPartitionVersion";
MetaServiceClient client = null;
if (MetricRepo.isInit && Config.isCloudMode()) {
@@ -341,7 +342,9 @@ public class MetaServiceProxy {
}
public Cloud.GetVersionResponse getVersion(Cloud.GetVersionRequest
request) throws RpcException {
- return executeWithMetrics("getVersion", (client) ->
client.getVersion(request));
+ String methodName = request.hasIsTableVersion() &&
request.getIsTableVersion() ? "getTableVersion"
+ : "getPartitionVersion";
+ return executeWithMetrics(methodName, (client) ->
client.getVersion(request));
}
public Cloud.CreateTabletsResponse
createTablets(Cloud.CreateTabletsRequest request) throws RpcException {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]