From abffef82c7b97ecfb4fe0fd46475e44e4aaf1007 Mon Sep 17 00:00:00 2001 From: Michael McCandless Date: Sun, 31 Oct 2010 13:22:12 +0000 Subject: [PATCH] LUCENE-2730: remove sync from TermsHash.abort (causes deadlock on earlier releases) git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1029333 13f79535-47bb-0310-9956-ffa450edef68 --- lucene/src/java/org/apache/lucene/index/TermsHash.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lucene/src/java/org/apache/lucene/index/TermsHash.java b/lucene/src/java/org/apache/lucene/index/TermsHash.java index e4e9752ad10..bdc5ed5d812 100644 --- a/lucene/src/java/org/apache/lucene/index/TermsHash.java +++ b/lucene/src/java/org/apache/lucene/index/TermsHash.java @@ -63,7 +63,7 @@ final class TermsHash extends InvertedDocConsumer { } @Override - synchronized public void abort() { + public void abort() { consumer.abort(); if (nextTermsHash != null) nextTermsHash.abort();