LUCENE-6659: woops

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1691662 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael McCandless 2015-07-18 01:18:10 +00:00
parent ca60372d47
commit f3c02b08a5
1 changed files with 0 additions and 3 deletions

View File

@ -210,7 +210,6 @@ final class DocumentsWriter implements Closeable, Accountable {
infoStream.message("DW", "abort");
}
final int limit = perThreadPool.getActiveThreadStateCount();
perThreadPool.setAbort();
for (int i = 0; i < limit; i++) {
final ThreadState perThread = perThreadPool.getThreadState(i);
perThread.lock();
@ -302,8 +301,6 @@ final class DocumentsWriter implements Closeable, Accountable {
// ignore & keep on unlocking
}
}
perThreadPool.clearAbort();
}
boolean anyChanges() {