jvrao commented on a change in pull request #853: BP-14 WriteFlag DEFERRED_SYNC 
Client Side Implementation
URL: https://github.com/apache/bookkeeper/pull/853#discussion_r188505751
 
 

 ##########
 File path: 
bookkeeper-server/src/main/java/org/apache/bookkeeper/client/LedgerHandle.java
 ##########
 @@ -170,6 +181,8 @@
             length = 0;
         }
 
+        this.pendingAddsSequenceHead = lastAddConfirmed + 1;
 
 Review comment:
   To avoid any bugs/logic issues I would keep this equal to lastAddConfirmed 
to start with. 
   So wherever we are checking lac/lac+1 we can continue to do it.

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