You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by sh...@apache.org on 2017/08/08 12:15:00 UTC
[47/50] [abbrv] lucene-solr:feature/autoscaling: LUCENE-7919: remove
useless notify
LUCENE-7919: remove useless notify
Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/b531fbc5
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/b531fbc5
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/b531fbc5
Branch: refs/heads/feature/autoscaling
Commit: b531fbc5fd91d5fabf90a552b809727d68fd1c9f
Parents: 0dca964
Author: Mike McCandless <mi...@apache.org>
Authored: Mon Aug 7 18:53:40 2017 -0400
Committer: Mike McCandless <mi...@apache.org>
Committed: Mon Aug 7 18:53:40 2017 -0400
----------------------------------------------------------------------
.../java/org/apache/lucene/index/DocumentsWriterPerThreadPool.java | 2 --
1 file changed, 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/b531fbc5/lucene/core/src/java/org/apache/lucene/index/DocumentsWriterPerThreadPool.java
----------------------------------------------------------------------
diff --git a/lucene/core/src/java/org/apache/lucene/index/DocumentsWriterPerThreadPool.java b/lucene/core/src/java/org/apache/lucene/index/DocumentsWriterPerThreadPool.java
index de5b3fe..102628f 100644
--- a/lucene/core/src/java/org/apache/lucene/index/DocumentsWriterPerThreadPool.java
+++ b/lucene/core/src/java/org/apache/lucene/index/DocumentsWriterPerThreadPool.java
@@ -212,8 +212,6 @@ final class DocumentsWriterPerThreadPool {
state.unlock();
synchronized (this) {
freeList.add(state);
- // In case any thread is waiting, wake one of them up since we just released a thread state:
- notify();
}
}