Voron internals: The transaction journal & recovery

added by DotNetKicks
8/31/2016 2:17:36 PM

2 Kicks, 264 Views

Typically, the transaction journal is only used during recovery, so it is write only. We let the journal files to grow to about 64MB in size, then we create new ones. During database startup, we check what is the last journal file and journal file position that we have synced (more on that later), and we start reading from there.