You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by zh...@apache.org on 2019/09/28 15:13:05 UTC

[incubator-doris] branch master updated: Make batchEndId default value to zero instead (#1907)

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 58f1d79  Make batchEndId default value to zero instead (#1907)
58f1d79 is described below

commit 58f1d7959770acb1150f67c461486d7eb5b1f9a7
Author: lichaoyong <li...@baidu.com>
AuthorDate: Sat Sep 28 23:12:59 2019 +0800

    Make batchEndId default value to zero instead (#1907)
---
 .../main/java/org/apache/doris/transaction/TransactionIdGenerator.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fe/src/main/java/org/apache/doris/transaction/TransactionIdGenerator.java b/fe/src/main/java/org/apache/doris/transaction/TransactionIdGenerator.java
index 4121786..0501602 100644
--- a/fe/src/main/java/org/apache/doris/transaction/TransactionIdGenerator.java
+++ b/fe/src/main/java/org/apache/doris/transaction/TransactionIdGenerator.java
@@ -30,7 +30,7 @@ public class TransactionIdGenerator {
     
     private long nextId = NEXT_ID_INIT_VALUE;
     // has to set it to an invalid value, then it will be logged when id is firstly increment
-    private long batchEndId = -1;
+    private long batchEndId = 0;
     
     private EditLog editLog;
     


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