Skip to content

Apache Lucene open-source search software

SOLR-6834: hard fail if checkIntegrityAtMerge is used in 6.0 (trunk only, not for backport)

Chris M. Hostetter161235929770
diff --git a/solr/core/src/java/org/apache/solr/update/SolrIndexConfig.java b/solr/core/src/java/org/apache/solr/update/SolrIndexConfig.java
index 371433298fd..9dedfba2281 100644
--- a/solr/core/src/java/org/apache/solr/update/SolrIndexConfig.java
+++ b/solr/core/src/java/org/apache/solr/update/SolrIndexConfig.java
@@ -173,7 +173,7 @@ public class SolrIndexConfig implements MapSerializable {
assertWarnOrFail("Begining with Solr 5.0, <checkIntegrityAtMerge> option is no longer supported and should be removed from solrconfig.xml (these integrity checks are now automatic)",
(null == solrConfig.getNode(prefix+"/checkIntegrityAtMerge",false)),
- false);
+ true);
}
@Override
public Map<String, Object> toMap() {