SOLR-6530: Disallow recovery code to run for commits