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 1e388e69d53 [fix](fe) fix potential NPE in getDeleteBitmapUpdateLock 
(#62809)
1e388e69d53 is described below

commit 1e388e69d5345b39e98f5d9c27cbcfb84e2e48d1
Author: meiyi <[email protected]>
AuthorDate: Tue Apr 28 15:44:38 2026 +0800

    [fix](fe) fix potential NPE in getDeleteBitmapUpdateLock (#62809)
---
 .../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 eeac34e2e92..572c21b64eb 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
@@ -1248,9 +1248,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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to