[infinispan-issues] [JBoss JIRA] Updated: (ISPN-110) FileCacheStore.fromStreamLockSafe() should only read available bytes or streamBufferSize

Galder Zamarreno (JIRA) jira-events at lists.jboss.org
Thu Jul 9 05:03:30 EDT 2009


     [ https://jira.jboss.org/jira/browse/ISPN-110?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Galder Zamarreno updated ISPN-110:
----------------------------------

    Fix Version/s: 4.0.0.ALPHA6
                       (was: 4.0.0.BETA1)


> FileCacheStore.fromStreamLockSafe() should only read available bytes or streamBufferSize
> ----------------------------------------------------------------------------------------
>
>                 Key: ISPN-110
>                 URL: https://jira.jboss.org/jira/browse/ISPN-110
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Loaders and Stores
>    Affects Versions: 4.0.0.ALPHA5
>            Reporter: Galder Zamarreno
>            Assignee: Galder Zamarreno
>             Fix For: 4.0.0.ALPHA6
>
>
> With VAM, that uses JBoss Marshaller underneath, FileCacheStore.fromStreamLockSafe() should only
> try to read as many bytes as "int numBytes = objectInput.readInt();" returned or streamBufferSize if bigger, 
> otherwise it will read too much. Remember that to safe payload space, JBMAR avoided adding markers 
> at the end of each object so we should make sure only the required number of bytes are read.

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

        



More information about the infinispan-issues mailing list