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_r147729033
 
 

 ##########
 File path: 
bookkeeper-server/src/main/java/org/apache/bookkeeper/client/LedgerFragmentReplicator.java
 ##########
 @@ -317,7 +318,7 @@ public void writeComplete(int rc, long ledgerId,
                                 ledgerFragmentEntryMcb.processResult(rc, null,
                                         null);
                             }
-                        }, null, BookieProtocol.FLAG_RECOVERY_ADD);
+                        }, null, BookieProtocol.FLAG_RECOVERY_ADD, 
LedgerType.FORCE_ON_JOURNAL);
 
 Review comment:
   @sijie @jvrao in this patch I will use the same LedgerType as it is in 
LedgerMetadata.
   I am evaluating if LedgerFragmentReplicator needs an additional "force()" 
after the write.
   This additional change will be in a further patch, in this patch we do not 
have force() yet

----------------------------------------------------------------
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