Skip to content

Apache Lucene open-source search software

don't lazy load the replication handler - you can miss replicating commits that happen before the handler is loaded

Mark Robert Miller942b41c004dc
diff --git a/solr/core/src/test-files/solr/conf/solrconfig.xml b/solr/core/src/test-files/solr/conf/solrconfig.xml
index c517afe50b0..3da02360b11 100644
--- a/solr/core/src/test-files/solr/conf/solrconfig.xml
+++ b/solr/core/src/test-files/solr/conf/solrconfig.xml
@@ -238,7 +238,7 @@
</query>
- <requestHandler name="/replication" class="solr.ReplicationHandler" startup="lazy" />
+ <requestHandler name="/replication" class="solr.ReplicationHandler" />
<!-- An alternate set representation that uses an integer hash to store filters (sets of docids).
If the set cardinality <= maxSize elements, then HashDocSet will be used instead of the bitset
diff --git a/solr/example/solr/conf/solrconfig.xml b/solr/example/solr/conf/solrconfig.xml
index 089ca7f1482..54224cd7767 100755
--- a/solr/example/solr/conf/solrconfig.xml
+++ b/solr/example/solr/conf/solrconfig.xml
@@ -1075,7 +1075,7 @@
This is the config need for SolrCloud's recovery replication.
-->
- <requestHandler name="/replication" class="solr.ReplicationHandler" startup="lazy" />
+ <requestHandler name="/replication" class="solr.ReplicationHandler" />
<!-- Search Components