Skip to content

Commit 3fdab49

Browse files
committed
Port partial commit e7bd563e228 for LUCENE-5644 for Lucene 4.8.1
Only including the PulseAll in this change; the rest will be in batch 5)
1 parent d16b019 commit 3fdab49

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/Lucene.Net/Index/DocumentsWriterPerThreadPool.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,9 @@ internal void DeactivateUnreleasedStates()
283283
threadState.Unlock();
284284
}
285285
}
286+
287+
// In case any threads are waiting for indexing:
288+
UninterruptableMonitor.PulseAll(this);
286289
}
287290
finally
288291
{

0 commit comments

Comments
 (0)