lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Koji Sekiguchi <>
Subject Re: ReentrantReadWriteLock in DUH2
Date Thu, 06 Nov 2008 15:48:30 GMT
 > So that multiple threads can efficiently access the writer, but only 
one thread at a time does a commit.
 > Adding docs with the writer is the 'read' and committing is the 
write. If I remember correctly.

You remember correctly, Mark. Because of the lock, <add/> is blocked
during <optimize/>, even if ConcurrentMergeScheduler is used, right?
I'd like to know why <add/> should be blocked during <optimize/>.


View raw message