code: func (db *DB) DisableCompactions() {
  	db.autoCompactMtx.Lock()
  	defer db.autoCompactMtx.Unlock()
  
  	db.autoCompact = false
  	level.Info(db.logger).Log("msg", "compactions disabled")
  }
docs: // DisableCompactions disables auto compactions.