This is an automated email from the ASF dual-hosted git repository. zhaoc pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-doris.git
The following commit(s) were added to refs/heads/master by this push: new 06befc4 Support decrease edit_log_roll_num config (#2171) 06befc4 is described below commit 06befc45ede260c4d3217079363cb9521176d6bf Author: kangkaisen <kangkai...@apache.org> AuthorDate: Mon Nov 11 14:20:32 2019 +0800 Support decrease edit_log_roll_num config (#2171) --- fe/src/main/java/org/apache/doris/persist/EditLog.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/fe/src/main/java/org/apache/doris/persist/EditLog.java b/fe/src/main/java/org/apache/doris/persist/EditLog.java index 41def65..81f5743 100644 --- a/fe/src/main/java/org/apache/doris/persist/EditLog.java +++ b/fe/src/main/java/org/apache/doris/persist/EditLog.java @@ -762,8 +762,9 @@ public class EditLog { txId, numTransactions, totalTimeTransactions, op); } - if (txId == Config.edit_log_roll_num) { - LOG.info("txId is equal to edit_log_roll_num {}, will roll edit.", txId); + if (txId >= Config.edit_log_roll_num) { + LOG.info("txId {} is equal to or larger than edit_log_roll_num {}, will roll edit.", + txId, Config.edit_log_roll_num); rollEditLog(); txId = 0; } --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org