TODO note on handling compaction.