Use ReadWriteLock in IndexWriter
--------------------------------

                 Key: LUCENE-2083
                 URL: https://issues.apache.org/jira/browse/LUCENE-2083
             Project: Lucene - Java
          Issue Type: Improvement
          Components: Index
    Affects Versions: 2.9.1
            Reporter: Jason Rutherglen
            Priority: Minor
             Fix For: 3.1


Doing a small patch to make sure things don't break in a big
way, we'll use RRWL replacing some of the global synchronized
locks in IndexWriter. 

We'll read lock during operations that for example delete from a
segment, and gwrite lock when we're changing the main segment
infos collection (i.e. we're swapping in new segments after a
merge, or flushing a new segment). 

I want to implement this, see if any tests break. 

Spin off from LUCENE-2047.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-dev-h...@lucene.apache.org

Reply via email to