[infinispan-issues] [JBoss JIRA] Resolved: (ISPN-501) chunks might be deleted while Searcher is iterating
Sanne Grinovero (JIRA)
jira-events at lists.jboss.org
Tue Jul 6 05:51:46 EDT 2010
[ https://jira.jboss.org/browse/ISPN-501?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sanne Grinovero resolved ISPN-501.
----------------------------------
Resolution: Done
> chunks might be deleted while Searcher is iterating
> ---------------------------------------------------
>
> Key: ISPN-501
> URL: https://jira.jboss.org/browse/ISPN-501
> Project: Infinispan
> Issue Type: Bug
> Components: Lucene Directory
> Reporter: Sanne Grinovero
> Assignee: Sanne Grinovero
> Priority: Critical
> Fix For: 4.1.0.CR1, 5.0.0.BETA1
>
>
> This one is quite nasty:
> java.io.IOException: Chunk id = [ 5 ] does not exist for file [ _sc.cfs ] for index [ iname ], file position: [ 88420 ], file size: [ 93015 ]
> at org.infinispan.lucene.InfinispanIndexIO$InfinispanIndexInput.readBytes(InfinispanIndexIO.java:150)
> at org.apache.lucene.store.IndexInput.readBytes(IndexInput.java:61)
> at org.apache.lucene.index.CompoundFileReader$CSIndexInput.readInternal(CompoundFileReader.java:247)
> at org.apache.lucene.store.BufferedIndexInput.readBytes(BufferedIndexInput.java:136)
> at org.apache.lucene.index.SegmentReader$Norm.bytes(SegmentReader.java:469)
> at org.apache.lucene.index.SegmentReader.getNorms(SegmentReader.java:1090)
> at org.apache.lucene.index.SegmentReader.norms(SegmentReader.java:1096)
> at org.apache.lucene.search.TermQuery$TermWeight.scorer(TermQuery.java:72)
> at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:250)
> at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:175)
> at org.apache.lucene.search.Searcher.search(Searcher.java:181)
> at org.infinispan.lucene.profiling.LuceneReaderThread.testLoop(LuceneReaderThread.java:63)
> at org.infinispan.lucene.profiling.LuceneUserThread.run(LuceneUserThread.java:55)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:619)
> Easily reproducible by starting "mvn test -Dtest=PerformanceCompareStressTest" with the currently committed parameters (r1925)
> I'll likely need an AtomicMap or use transactions while reading?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list