mirror of https://github.com/apache/lucene.git
SOLR-5760: ConcurrentUpdateSolrServer has a blockUntilFinished call when streamDeletes is true that should be tucked into the if statement below it.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1573438 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9441f0d4ce
commit
a42db70dec
|
@ -106,6 +106,10 @@ Bug Fixes
|
|||
* SOLR-5734: We should use System.nanoTime rather than System.currentTimeMillis
|
||||
when calculating elapsed time. (Mark Miller, Ramkumar Aiyengar)
|
||||
|
||||
* SOLR-5760: ConcurrentUpdateSolrServer has a blockUntilFinished call when
|
||||
streamDeletes is true that should be tucked into the if statement below it.
|
||||
(Mark Miller, Gregory Chanan)
|
||||
|
||||
Optimizations
|
||||
----------------------
|
||||
* SOLR-1880: Distributed Search skips GET_FIELDS stage if EXECUTE_QUERY
|
||||
|
|
|
@ -283,8 +283,8 @@ public class ConcurrentUpdateSolrServer extends SolrServer {
|
|||
if ((req.getDocuments() == null || req.getDocuments().isEmpty())
|
||||
&& (req.getDeleteById() == null || req.getDeleteById().isEmpty())
|
||||
&& (req.getDeleteByIdMap() == null || req.getDeleteByIdMap().isEmpty())) {
|
||||
blockUntilFinished();
|
||||
if (req.getDeleteQuery() == null) {
|
||||
blockUntilFinished();
|
||||
return server.request(request);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue