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:
[email protected]


With regards,
Apache Git Services

Reply via email to