From a47d15f5e6535fa640f7a6479d180ea3657299db Mon Sep 17 00:00:00 2001 From: Lei Zhang <27994433+SWJTU-ZhangLei@users.noreply.github.com> Date: Mon, 4 Mar 2024 20:47:24 +0800 Subject: [PATCH] [fix](test) Fix cloud_p0/catalog_recycle_bin_p0/show.groovy failed (#31727) * In cloud mode, `getDbRunningTransInfo` is not suppoted now, we just return a empty map instead of thrown exception --- .../doris/cloud/transaction/CloudGlobalTransactionMgr.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fe/fe-core/src/main/java/org/apache/doris/cloud/transaction/CloudGlobalTransactionMgr.java b/fe/fe-core/src/main/java/org/apache/doris/cloud/transaction/CloudGlobalTransactionMgr.java index 6be3875fef6c65..29f8948bf19eb8 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/cloud/transaction/CloudGlobalTransactionMgr.java +++ b/fe/fe-core/src/main/java/org/apache/doris/cloud/transaction/CloudGlobalTransactionMgr.java @@ -1118,7 +1118,7 @@ public List> getDbTransInfo(Long dbId, boolean running, int limit) @Override public Map> getDbRunningTransInfo(long dbId) throws AnalysisException { - throw new AnalysisException(NOT_SUPPORTED_MSG); + return Maps.newHashMap(); } @Override