Lucene config bundle isn't locked properly
------------------------------------------
Key: CDV-337
URL: https://jira.terracotta.org/jira//browse/CDV-337
Project: Community Development
Issue Type: Bug
Affects Versions: 2.4-stable1, 2.4-stable0, 2.3, 2.3 EE, 2.3-stable1,
2.3-Stable0
Reporter: Orion Letizi
Assigned To: Issue Review Board
The existing config bundle uses autolocks in many of the methods, but there is
no synchronization in the RAMDirectory to autolock. I tried using
auto-synchronization, but that breaks when using the corresponding input and
output streams (because they aren't usually shared, plus auto-synchronizing
doesn't actually synchronize on the right stuff).
At the moment, the only way to use Lucene is to use custom locking or named
locks, but the config module doesn't really work.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.terracotta.org/jira//secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
tc-dev mailing list
[email protected]
http://lists.terracotta.org/mailman/listinfo/tc-dev