You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bookkeeper.apache.org by GitBox <gi...@apache.org> on 2019/05/04 04:54:23 UTC

[GitHub] [bookkeeper] sijie commented on issue #2083: checkpoint when entry has one more directory to write

sijie commented on issue #2083: checkpoint when entry has one more directory to write
URL: https://github.com/apache/bookkeeper/issues/2083#issuecomment-489294045
 
 
   @jacky1193610322 
   
   Not sure if I fully understand your questions. But an entry log only belongs to one directory, when checkpoint happens, it does following:
   
   a) flush the entry log file to make sure entries are persisted to the disks.
   b) flush the index pages to make sure all index pages are persisted.
   c) advanced the last mark in journal to the check-pointed mark.
   
   If any crashes happen before c), the journal will still have all the data to recover. 

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services