You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bookkeeper.apache.org by si...@apache.org on 2018/04/20 08:17:18 UTC
[bookkeeper] branch master updated: In EntryLogger.addEntry method,
rollLog flag should not be ignored.
This is an automated email from the ASF dual-hosted git repository.
sijie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/bookkeeper.git
The following commit(s) were added to refs/heads/master by this push:
new a02b3f4 In EntryLogger.addEntry method, rollLog flag should not be ignored.
a02b3f4 is described below
commit a02b3f494331e830f7b34c9d833069af4db8e81c
Author: cguttapalem <cg...@salesforce.com>
AuthorDate: Fri Apr 20 01:17:11 2018 -0700
In EntryLogger.addEntry method, rollLog flag should not be ignored.
In EntryLogger.addEntry method, rollLog flag should not be ignored.
Author: cguttapalem <cg...@salesforce.com>
Reviewers: Enrico Olivelli <eo...@gmail.com>, Sijie Guo <si...@apache.org>
This closes #1359 from reddycharan/fixrolllogcall
---
.../src/main/java/org/apache/bookkeeper/bookie/EntryLogger.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/EntryLogger.java b/bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/EntryLogger.java
index 158525d..e2a25ed 100644
--- a/bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/EntryLogger.java
+++ b/bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/EntryLogger.java
@@ -1223,7 +1223,7 @@ public class EntryLogger {
}
public long addEntry(long ledger, ByteBuf entry, boolean rollLog) throws IOException {
- return entryLogManager.addEntry(ledger, entry, true);
+ return entryLogManager.addEntry(ledger, entry, rollLog);
}
private final FastThreadLocal<ByteBuf> sizeBuffer = new FastThreadLocal<ByteBuf>() {
--
To stop receiving notification emails like this one, please contact
sijie@apache.org.