Aaron McCurry created BLUR-249:
----------------------------------
Summary: Sync performance issue in the IndexInputCloser class
Key: BLUR-249
URL: https://issues.apache.org/jira/browse/BLUR-249
Project: Apache Blur
Issue Type: Improvement
Components: Blur
Affects Versions: 0.3.0, 0.2.1
Reporter: Aaron McCurry
Fix For: 0.3.0, 0.2.1
While running some load tests on a medium sized cluster I noticed a lot of
blocked state on the index-manager threads. These threads are used during the
parallel search. Upon inspection of a thread dump I noticed that all the
blocked state threads were blocking on line 67 in the IndexInputCloser class.
This is to synchronize on a collection addition because the implementation is a
HashSet.
This task is to change the refs field to be a concurrenthashmap using the
Collections.newSetFromMap() method.
--
This message was sent by Atlassian JIRA
(v6.1#6144)