maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tamás Cservenák (JIRA) <j...@codehaus.org>
Subject [jira] Closed: (MINDEXER-30) IndexPublisher does not protect "read consistency" over published context
Date Wed, 08 Jun 2011 15:31:22 GMT

     [ http://jira.codehaus.org/browse/MINDEXER-30?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Tamás Cservenák closed MINDEXER-30.
-----------------------------------

    Resolution: Fixed

Fixed

> IndexPublisher does not protect "read consistency" over published context
> -------------------------------------------------------------------------
>
>                 Key: MINDEXER-30
>                 URL: http://jira.codehaus.org/browse/MINDEXER-30
>             Project: Maven Indexer
>          Issue Type: Bug
>    Affects Versions: 4.1.0
>            Reporter: Tamás Cservenák
>            Assignee: Tamás Cservenák
>             Fix For: 4.1.1
>
>
> IndexPublisher does not protect "read consistency" over published context.
> This affects only contexts that are the new MergedIndexingContext. These -- newly introduced
context types in 4.1.0 -- are simply "logical merged view" of other IndexingContexts. When
some change -- and async commit -- happens in some of the member contexts, a Lucene exception
is thrown preventing proper publishing of the context.
> Typical top lines of these stack traces:
> {noformat}
> org.apache.lucene.store.AlreadyClosedException: this IndexReader is closed
> at org.apache.lucene.index.IndexReader.ensureOpen(IndexReader.java:177)
> at org.apache.lucene.index.SegmentReader.document(SegmentReader.java:942)
> at org.apache.lucene.index.DirectoryReader.document(DirectoryReader.java:533)
> at org.apache.lucene.index.MultiReader.document(MultiReader.java:251)
> at org.apache.lucene.index.IndexReader.document(IndexReader.java:658)
> at org.apache.maven.index.incremental.DefaultIncrementalHandler.getIndexChunk(DefaultIncrementalHandler.java:154)
> at org.apache.maven.index.incremental.DefaultIncrementalHandler.getIncrementalUpdates(DefaultIncrementalHandler.java:65)
> at org.apache.maven.index.packer.DefaultIndexPacker.packIndex(DefaultIndexPacker.java:117)
> {noformat}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message