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

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


The following commit(s) were added to refs/heads/branch-3.1 by this push:
     new e8d949a7742 branch-3.1: [fix](test) fix unstable es catalog test 
#58800 (#59023)
e8d949a7742 is described below

commit e8d949a7742f1b33dfc6df9364aa6a189f7cabde
Author: Mingyu Chen (Rayner) <[email protected]>
AuthorDate: Wed Dec 17 17:09:57 2025 +0800

    branch-3.1: [fix](test) fix unstable es catalog test #58800 (#59023)
    
    bp #58800
---
 .../main/java/org/apache/doris/httpv2/restv2/ESCatalogAction.java | 8 --------
 1 file changed, 8 deletions(-)

diff --git 
a/fe/fe-core/src/main/java/org/apache/doris/httpv2/restv2/ESCatalogAction.java 
b/fe/fe-core/src/main/java/org/apache/doris/httpv2/restv2/ESCatalogAction.java
index 05e229cc01e..05afa3a151d 100644
--- 
a/fe/fe-core/src/main/java/org/apache/doris/httpv2/restv2/ESCatalogAction.java
+++ 
b/fe/fe-core/src/main/java/org/apache/doris/httpv2/restv2/ESCatalogAction.java
@@ -55,14 +55,6 @@ public class ESCatalogAction extends RestBaseController {
             executeCheckPassword(request, response);
         }
 
-        try {
-            if (!Env.getCurrentEnv().isMaster()) {
-                return redirectToMasterOrException(request, response);
-            }
-        } catch (Exception e) {
-            return ResponseEntityBuilder.okWithCommonError(e.getMessage());
-        }
-
         Map<String, Object> resultMap = Maps.newHashMap();
         Env env = Env.getCurrentEnv();
         String catalogName = request.getParameter(CATALOG);


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

Reply via email to