Commit ff7ee1f7 authored by Yoni Fogel's avatar Yoni Fogel

[t:2785] Correct comments in block_table to properly describe checkpointing

git-svn-id: file:///svn/toku/tokudb@22014 c7de825b-a66e-492c-adef-691d508d4ae1
parent 1351182e
......@@ -44,12 +44,15 @@ static const DISKOFF diskoff_unused = (DISKOFF)-2; // value of block_translati
*
* checkpointed Is initialized by deserializing from disk,
* and is the only version ever read from disk.
* It is immutable. Once read from disk it is never changed.
* When read from disk it is copied to current.
* It is immutable. It can be replaced by an inprogress btt.
*
* inprogress Is only filled by copying from current,
* and is the only version ever serialized to disk.
* (It is serialized to disk on checkpoint and clean shutdown.)
* It is immutable. Once copied from current it is never changed.
* At end of checkpoint it replaces 'checkpointed'.
* During a checkpoint, any 'pending' dirty writes will update
* inprogress.
*
* current Is initialized by copying from checkpointed,
* is the only version ever modified while the database is in use,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment