Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Lucene: Java-Dev

[jira] Created: (LUCENE-2083) Use ReadWriteLock in IndexWriter

 

 

Lucene java-dev RSS feed   Index | Next | Previous | View Threaded


jira at apache

Nov 18, 2009, 2:00 PM

Post #1 of 1 (201 views)
Permalink
[jira] Created: (LUCENE-2083) Use ReadWriteLock in IndexWriter

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-unsubscribe [at] lucene
For additional commands, e-mail: java-dev-help [at] lucene

Lucene java-dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.