mymeiyi commented on code in PR #39483: URL: https://github.com/apache/doris/pull/39483#discussion_r1729651814
########## fe/fe-core/src/main/java/org/apache/doris/qe/ConnectContext.java: ########## @@ -151,6 +151,8 @@ public enum ConnectType { protected volatile long currentDbId = -1; // Transaction protected volatile TransactionEntry txnEntry = null; + protected volatile boolean isFirstTxnInsert = false; Review Comment: it's better to move the 2 variables into TransactionEntry -- 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: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org