You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ma...@apache.org on 2012/09/15 20:16:53 UTC
svn commit: r1385146 - in /lucene/dev/branches/branch_4x: ./ solr/
solr/CHANGES.txt solr/core/
solr/core/src/java/org/apache/solr/handler/SnapPuller.java
Author: markrmiller
Date: Sat Sep 15 18:16:53 2012
New Revision: 1385146
URL: http://svn.apache.org/viewvc?rev=1385146&view=rev
Log:
SOLR-3465: Replication causes two searcher warmups.
Modified:
lucene/dev/branches/branch_4x/ (props changed)
lucene/dev/branches/branch_4x/solr/ (props changed)
lucene/dev/branches/branch_4x/solr/CHANGES.txt (contents, props changed)
lucene/dev/branches/branch_4x/solr/core/ (props changed)
lucene/dev/branches/branch_4x/solr/core/src/java/org/apache/solr/handler/SnapPuller.java
Modified: lucene/dev/branches/branch_4x/solr/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/solr/CHANGES.txt?rev=1385146&r1=1385145&r2=1385146&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/solr/CHANGES.txt (original)
+++ lucene/dev/branches/branch_4x/solr/CHANGES.txt Sat Sep 15 18:16:53 2012
@@ -223,6 +223,10 @@ Bug Fixes
* SOLR-3831: Atomic updates do not distribute correctly to other nodes.
(Jim Musil, Mark Miller)
+
+* SOLR-3465: Replication causes two searcher warmups.
+ (Michael Garski, Mark Miller)
+
Other Changes
----------------------
Modified: lucene/dev/branches/branch_4x/solr/core/src/java/org/apache/solr/handler/SnapPuller.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/solr/core/src/java/org/apache/solr/handler/SnapPuller.java?rev=1385146&r1=1385145&r2=1385146&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/solr/core/src/java/org/apache/solr/handler/SnapPuller.java (original)
+++ lucene/dev/branches/branch_4x/solr/core/src/java/org/apache/solr/handler/SnapPuller.java Sat Sep 15 18:16:53 2012
@@ -555,7 +555,10 @@ public class SnapPuller {
}
// update our commit point to the right dir
- solrCore.getUpdateHandler().commit(new CommitUpdateCommand(req, false));
+ CommitUpdateCommand cuc = new CommitUpdateCommand(req, false);
+ cuc.waitSearcher = false;
+ cuc.openSearcher = false;
+ solrCore.getUpdateHandler().commit(cuc);
} finally {
req.close();