You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2021/04/20 15:07:55 UTC

[GitHub] [incubator-doris] morningman commented on a change in pull request #5675: [Optimize] Remove expired txns in batch to avoid holding lock for too long

morningman commented on a change in pull request #5675:
URL: https://github.com/apache/incubator-doris/pull/5675#discussion_r616774799



##########
File path: fe/fe-core/src/main/java/org/apache/doris/transaction/DatabaseTransactionMgr.java
##########
@@ -1436,9 +1501,8 @@ public void unprotectWriteAllTransactionStates(DataOutput out) throws IOExceptio
             entry.getValue().write(out);
         }
 
-        for (TransactionState transactionState : finalStatusTransactionStateDeque) {
+        for (TransactionState transactionState : idToFinalStatusTransactionState.values()) {

Review comment:
       Done




-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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