eolivelli commented on issue #853: BP-14 WriteFlag DEFERRED_SYNC Client Side Implementation URL: https://github.com/apache/bookkeeper/pull/853#issuecomment-389789447 @jvrao @sijie another idea to implement both of the two behaviours we can do that DEFERRED_SYNC writeflag, acts like in this patch, that is LAC does not advance without explicit force() we can add an additional write flag, like OPTIMISTIC_LAC, to be set together with DEFERRED_SYNC , which makes lastAddConfirmed advance in sendAddSuccessCallbacks even in presence of DEFERRED_SYNC like: ``` if (!writeFlags.contains(WriteFlag.DEFERRED_SYNC) || writeFlags.contains(WriteFlag.OPTIMISTIC_LAC)) { this.lastAddConfirmed = pendingAddsSequenceHead; } ```
---------------------------------------------------------------- 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
