Revert the changes for the compaction and store flush.