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

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


The following commit(s) were added to refs/heads/branch-4.1 by this push:
     new 365ad55e937 branch-4.1: [fix](fe) Return early for non-master stream 
load precommit #62109 (#62332)
365ad55e937 is described below

commit 365ad55e937bc3b265706b3b94bd2a041bba3cd3
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Sat Apr 25 22:47:43 2026 +0800

    branch-4.1: [fix](fe) Return early for non-master stream load precommit 
#62109 (#62332)
    
    Cherry-picked from #62109
    
    Co-authored-by: Xin Liao <[email protected]>
---
 .../src/main/java/org/apache/doris/service/FrontendServiceImpl.java    | 3 +++
 1 file changed, 3 insertions(+)

diff --git 
a/fe/fe-core/src/main/java/org/apache/doris/service/FrontendServiceImpl.java 
b/fe/fe-core/src/main/java/org/apache/doris/service/FrontendServiceImpl.java
index 2faa0d9d1e8..96480cc1623 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/service/FrontendServiceImpl.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/service/FrontendServiceImpl.java
@@ -1437,6 +1437,9 @@ public class FrontendServiceImpl implements 
FrontendService.Iface {
         TLoadTxnCommitResult result = new TLoadTxnCommitResult();
         TStatus status = checkMaster();
         result.setStatus(status);
+        if (status.getStatusCode() != TStatusCode.OK) {
+            return result;
+        }
 
         try {
             loadTxnPreCommitImpl(request);


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

Reply via email to