For ENG-5803, add support for disabling compaction