gavinchou commented on code in PR #67820:
URL: https://github.com/apache/doris/pull/67820#discussion_r3990868059


##########
cloud/src/meta-service/meta_service_txn.cpp:
##########
@@ -1911,6 +1944,11 @@ void MetaServiceImpl::commit_txn_immediately(
             return;
         }
 
+        if (txn_info.status() != TxnStatusPB::TXN_STATUS_COMMITTED &&

Review Comment:
   can we do this to reduce/protect the check for every commit txn or rescue in 
some severe situations
   ```
   if (commt_txn_request.enable_check_commit_tso_fence && 
config::enable_check_commit_tso_fence && ...) {
     // check it
   }
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to