add compaction feature for mvcc