The number of validation errors per given compaction scrub on given shard is passed up to perform_task() function.