YutSean commented on PR #4034:
URL: https://github.com/apache/bookkeeper/pull/4034#issuecomment-1639152548

   We are testing using Distributedlog as HBase WAL storage. For HBase, there 
is three different durability levels, async wal, sync wal, fsync wal. The 
features of these three kinds of wal are:
   
   - async wal: the main thread only invokes append (add method of 
appendonlywriter) and returns.
   
   - sync wal: the main thread returns after confirming that the data is 
already arrived at the storage service through network.
   
   - fsync wal: the main thread returns after confirming that the data is 
already persistently stored.
   
   But currently, the AppendOnlyWriter only provides a method force, which 
provides a stronger durability than fsync wal (the client will wait until the 
data is visible to other clients). 
   
   The new methods I added in this issue is just for the implementations of the 
above different kinds of durability.
   I have tested the method in our test environment. It will boost the 
performance of the whole system.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to