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/04/29 06:14:33 UTC

(doris) branch branch-4.1 updated: branch-4.1: [fix](fe) fix potential NPE in getDeleteBitmapUpdateLock #62809 (#62903)

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 e03528f43e5 branch-4.1: [fix](fe) fix potential NPE in getDeleteBitmapUpdateLock #62809 (#62903)
e03528f43e5 is described below

commit e03528f43e5103488f2740d20679d68e6e52d492
Author: github-actions[bot] <41...@users.noreply.github.com>
AuthorDate: Wed Apr 29 14:14:26 2026 +0800

    branch-4.1: [fix](fe) fix potential NPE in getDeleteBitmapUpdateLock #62809 (#62903)
    
    Cherry-picked from #62809
    
    Co-authored-by: meiyi <me...@selectdb.com>
---
 .../apache/doris/cloud/transaction/CloudGlobalTransactionMgr.java   | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

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 94081f6237e..853087d461d 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
@@ -1246,9 +1246,11 @@ public class CloudGlobalTransactionMgr implements GlobalTransactionMgrIface {
                                 transactionId,
                                 retryTime, mowTableList.stream().map(Table::getId).collect(Collectors.toList()), e);
                     }
-                    retryMsg = response.toString();
+                    if (response != null) {
+                        retryMsg = response.toString();
+                    }
                     if (DebugPointUtil.isEnable("FE.mow.check.lock.release")
-                            && response.getStatus().getCode() == MetaServiceCode.LOCK_CONFLICT) {
+                            && response != null && response.getStatus().getCode() == MetaServiceCode.LOCK_CONFLICT) {
                         throw new UserException(InternalErrorCode.INTERNAL_ERR,
                                 "check delete bitmap lock release fail,response is " + response
                                         + ", tableList=(" + StringUtils.join(mowTableList, ",") + ")");


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org