eolivelli commented on a change in pull request #670: BP-14 Relax Durability - 
patch 1 Introducing LedgerType
URL: https://github.com/apache/bookkeeper/pull/670#discussion_r147726749
 
 

 ##########
 File path: 
bookkeeper-benchmark/src/main/java/org/apache/bookkeeper/benchmark/BenchBookie.java
 ##########
 @@ -175,7 +176,7 @@ public static void main(String[] args)
             toSend.writeLong(entry);
             toSend.writerIndex(toSend.capacity());
             bc.addEntry(new BookieSocketAddress(addr, port), ledger, new 
byte[20],
-                        entry, toSend, tc, null, BookieProtocol.FLAG_NONE);
+                        entry, toSend, tc, null, BookieProtocol.FLAG_NONE, 
LedgerType.FORCE_ON_JOURNAL);
 
 Review comment:
   This is BenchBookie, it only creates LedgerType.FORCE_ON_JOURNAL ledgers.
   I tried to do a refactor but this will be a big change in this class. I 
think it is not important to rewrite this class in this patch.
   Mabye it would be better to create an issue on benchmarks in order to 
support LedgerType and force()

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to