[infinispan-issues] [JBoss JIRA] (ISPN-11024) Unable to use binary memory eviction with protobuf

Pedro Ruivo (Jira) issues at jboss.org
Thu Aug 6 09:53:02 EDT 2020


     [ https://issues.redhat.com/browse/ISPN-11024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pedro Ruivo updated ISPN-11024:
-------------------------------
    Fix Version/s: 11.0.4.Final
                       (was: 11.0.3.Final)


> Unable to use binary memory eviction with protobuf
> --------------------------------------------------
>
>                 Key: ISPN-11024
>                 URL: https://issues.redhat.com/browse/ISPN-11024
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 10.0.1.Final
>            Reporter: Jens Reimann
>            Assignee: Will Burns
>            Priority: Critical
>             Fix For: 11.0.4.Final
>
>
> Enabling binary eviction, e.g.:
> {code:xml}
> <memory>
>   <binary strategy="REMOVE" size="134217728" eviction="MEMORY"/>
> </memory>
> {code}
> When storing protobuf based types, throws the following exception:
> {code}
> 15:36:29,859 ERROR [org.infinispan.interceptors.impl.InvocationContextInterceptor] (async-thread--p2-t18) ISPN000136: Error executing command PrepareCommand on Cache 'devices', writing keys []: java.lang.IllegalArgumentException: Size of Class class org.infinispan.query.remote.impl.indexing.ProtobufValueWrapper cannot be determined using given entry size calculator :class org.infinispan.container.entries.PrimitiveEntrySizeCalculator
> {code}
> As protobuf produces a binary representation of the data, it is possible to calculate a size for that object.



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the infinispan-issues mailing list