mirror of https://github.com/apache/lucene.git
* SOLR-1766: DIH with threads enabled doesn't respond to the abort command
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@908355 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9bb44206b6
commit
90135ac5ad
|
@ -59,6 +59,8 @@ Bug Fixes
|
|||
|
||||
* SOLR-1757: DIH multithreading sometimes throws NPE (noble)
|
||||
|
||||
* SOLR-1766: DIH with threads enabled doesn't respond to the abort command (Michael Henson via noble)
|
||||
|
||||
Other Changes
|
||||
----------------------
|
||||
|
||||
|
|
|
@ -429,6 +429,7 @@ public class DocBuilder {
|
|||
DocWrapper docWrapper = this.docWrapper;
|
||||
Context.CURRENT_CONTEXT.set(context);
|
||||
for (; ;) {
|
||||
if(DocBuilder.this.stop.get()) break;
|
||||
try {
|
||||
Map<String, Object> arow = epw.nextRow();
|
||||
if (arow == null) {
|
||||
|
|
Loading…
Reference in New Issue