Result of opening or recovering a native Timeline journal. More...
#include <file_journal.hpp>
Public Attributes | |
| std::shared_ptr< FileJournal > | sink |
| Project | checkpoint |
| DocumentRevision | revision |
| bool | recovered_existing = false |
| bool | repaired_torn_tail = false |
Result of opening or recovering a native Timeline journal.
sink retains the open file and must stay alive while a DocumentSession uses it. checkpoint and revision are the exact state validated against the durable file. The two flags distinguish a new fallback from recovered or repaired durable state.
| Project pulp::timeline::FileJournalOpenResult::checkpoint |
| bool pulp::timeline::FileJournalOpenResult::recovered_existing = false |
| bool pulp::timeline::FileJournalOpenResult::repaired_torn_tail = false |
| DocumentRevision pulp::timeline::FileJournalOpenResult::revision |
| std::shared_ptr<FileJournal> pulp::timeline::FileJournalOpenResult::sink |