pub fn validate_compaction_config( config: &CompactionConfig, ) -> Result<(), String>
Returns Ok if config is valid, or the reason why it’s invalid.
config