mirror of https://github.com/apache/lucene.git
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:
parent
ca60372d47
commit
f3c02b08a5
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue