lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Rutherglen (JIRA)" <>
Subject [jira] Created: (LUCENE-2083) Use ReadWriteLock in IndexWriter
Date Wed, 18 Nov 2009 22:00:39 GMT
Use ReadWriteLock in IndexWriter

                 Key: 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:
For additional commands, e-mail:

View raw message