* 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:
Noble Paul 2010-02-10 05:27:00 +00:00
parent 9bb44206b6
commit 90135ac5ad
2 changed files with 3 additions and 0 deletions

View File

@ -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
----------------------

View File

@ -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) {