ModeShape/modeshape — pull request #335 by hchiorean (2012-03-19 14:00:45+00:00)
Title: MODE-1424 Fixed indexing deadlocking

Based on the thread-dumps, a couple of things have been updated:

* the locking implementation around the Lucene IndexWriter was changed from a binary semaphore (which isn't reentrant) to a ReentrantLock
* to avoid write transactions (which do use write locks for the in-memory source) the requests which are sent out by the SearchEngineIndexer are marked as read-only (always)