SOLR-3465: Replication causes two searcher warmups.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1385145 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mark Robert Miller 2012-09-15 18:14:31 +00:00
parent 43d1451624
commit f769169177
2 changed files with 8 additions and 1 deletions

View File

@ -227,6 +227,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
----------------------

View File

@ -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();