[infinispan-issues] [JBoss JIRA] Resolved: (ISPN-671) Lucene Directory doesn't appropriately throw an IOException in case read-past-eof happens at chunk size switch
Sanne Grinovero (JIRA)
jira-events at lists.jboss.org
Sun Sep 26 12:29:28 EDT 2010
[ https://jira.jboss.org/browse/ISPN-671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sanne Grinovero resolved ISPN-671.
----------------------------------
Resolution: Done
> Lucene Directory doesn't appropriately throw an IOException in case read-past-eof happens at chunk size switch
> --------------------------------------------------------------------------------------------------------------
>
> Key: ISPN-671
> URL: https://jira.jboss.org/browse/ISPN-671
> Project: Infinispan
> Issue Type: Bug
> Components: Lucene Directory
> Affects Versions: 4.0.0.Final, 4.1.0.Final, 4.2.0.ALPHA2
> Reporter: Sanne Grinovero
> Assignee: Sanne Grinovero
> Fix For: 4.2.0.BETA1, 4.2.0.Final, 5.0.0.Final
>
>
> Lucene can occasionally try to read past end of the stream, we are supposed to throw an IOException in this cases, but if at the same time the cursor points to an end-of-chunk the IndexOutput will have created a zero-filled byte array, from which the first element is returned instead.
> Adding tests to make sure the exception handling of these cases matches that of Lucene.
--
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