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 2018/03/12 10:15:44 UTC

[GitHub] ivankelly commented on issue #279: Provide LSN in Journal for better checkpointing

ivankelly commented on issue #279: Provide LSN in Journal for better checkpointing
URL: https://github.com/apache/bookkeeper/issues/279#issuecomment-372258323
 
 
   @sijie to confirm what the comment says, it proposes that when we write to the journal for an entry, we take a mark of the point of the journal(called LSN here) at which the entry was persisted, and pass this along with the entry to the ledger storage. The ledger storage can then make it's own decision on when to sync, and when it does, it can just inform the journal of the LSN up to which all data has been persisted. This can be either push or pull from the journal PoV. Correct?
   
   I think this is a good change, and wouldn't be particularly big. Now is a good time to do it too, or maybe once the per ledger entrylog stuff is in, which should be fairly soon.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services