eolivelli opened a new pull request #671: WIP - BP-14 Relax Durability - force() API for FORCE_DEFERRED_ON_JOURNAL LedgerType URL: https://github.com/apache/bookkeeper/pull/671 This patch introduce the new force() API which lets Ledgers with LedgerType FORCE_DEFERRED_ON_JOURNAL to force the fsync on journal. This way the LastAddConfirmed can advance on the client side. Contents: - new force() API - protocol changes (ForceRequest/ForceResponse) - test cases for client-side API using Mockito - test cases for Journal/Bookie (still partial) - test cases for FORCE_DEFERRED_ON_JOURNAL (full round-trip client and bookie) This patch is marked as Work-In-Progress because I have found a problem during recovery in case of bookie restart. The bug was hidden in my first implementation by implementations in the next patch about "piggybacking LastAddSynced on AddResponse".
---------------------------------------------------------------- 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
