You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bookkeeper.apache.org by GitBox <gi...@apache.org> on 2017/10/28 07:25:38 UTC
[GitHub] eolivelli commented on a change in pull request #670: BP-14 Relax Durability - patch 1 Introducing LedgerType
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_r147548452
##########
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:
I think this is a tricky point. The replicator needs to have guarantee that entry is really persisted.
This was a point were I thought that we needed a per entry flag and not a ledger wise flag.
Do you think that replicator should not wait for fsync?
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services