sijie commented on issue #2083: checkpoint when entry has one more directory to write URL: https://github.com/apache/bookkeeper/issues/2083#issuecomment-494341990 @jacky1193610322 > for example, the journal file has ABCDEFG message: > A B C D E F G > A F G belong to ledger 1 will put in one entry log(log1), B C D E belongs to the ledger 2 will put in > another entry log(log2), when log1 is full and flush the entries and index, but it cant advanced the > last mark to G message, because BCDE message in another log don't be flushed. It depends on which ledger storage you are talking about. If you don't enable multiple entry log files approach, there is only one entry log is active. hence the problem you described in this example doesn't exist. If you are talking about the multiple active entry log files approach, the checkpoint ensures all entry logs are flushed before completing checkpoint. hence the last mark in journal will not move.
---------------------------------------------------------------- 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
