[infinispan-issues] [JBoss JIRA] Work started: (ISPN-110) FileCacheStore.fromStreamLockSafe() should only read available bytes or streamBufferSize
Galder Zamarreno (JIRA)
jira-events at lists.jboss.org
Fri Jun 19 12:25:56 EDT 2009
[ https://jira.jboss.org/jira/browse/ISPN-110?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on ISPN-110 started by Galder Zamarreno.
> 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.BETA1
>
>
> 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