[JBoss JIRA] (ISPN-11024) Unable to use binary memory eviction with protobuf
by Will Burns (Jira)
[ https://issues.redhat.com/browse/ISPN-11024?page=com.atlassian.jira.plugi... ]
Will Burns updated ISPN-11024:
------------------------------
Summary: Unable to use binary memory eviction with protobuf (was: Unable to use binary memory eviction with indexing)
> 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
>
> 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)
6 years, 4 months
[JBoss JIRA] (ISPN-10836) Docs Productization: Marshalling
by Donald Naro (Jira)
[ https://issues.redhat.com/browse/ISPN-10836?page=com.atlassian.jira.plugi... ]
Donald Naro reopened ISPN-10836:
--------------------------------
> Docs Productization: Marshalling
> --------------------------------
>
> Key: ISPN-10836
> URL: https://issues.redhat.com/browse/ISPN-10836
> Project: Infinispan
> Issue Type: Enhancement
> Components: Documentation
> Reporter: Donald Naro
> Assignee: Donald Naro
> Priority: Major
> Fix For: 10.1.0.Final
>
>
> Productize content for marshalling and protostream.
> Modularize existing content.
> Show consistent examples for usage (i.e. should match CLI example).
> Identify additional changes and work to develop customer content.
> Review Server Guide marshalling section (8. Adding Custom Marshaller Bridges) and make sure this is relevant and up to date for DG 8
> From Ryan:
> - protostream and marshalling:
> The important things to document are:
> Jboss marshalling no longer present by default, infinispan-jboss-marshalling jar must be added to the classpath of the client/server if required.
> - Externalizers ignored unless this is present
> Protostream is the default marshaller for user types. Need to document the process of generating marshallers using pojos, and configuring the serialization context.
> - Best practices on how to evolve schemas to ensure backwards-compatibility
> Possible to configure a custom user marshaller in embedded mode, for example if the user wants to use Java Serialization but not jboss marshalling.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 4 months
[JBoss JIRA] (ISPN-10836) Docs Productization: Marshalling
by Donald Naro (Jira)
[ https://issues.redhat.com/browse/ISPN-10836?page=com.atlassian.jira.plugi... ]
Work on ISPN-10836 started by Donald Naro.
------------------------------------------
> Docs Productization: Marshalling
> --------------------------------
>
> Key: ISPN-10836
> URL: https://issues.redhat.com/browse/ISPN-10836
> Project: Infinispan
> Issue Type: Enhancement
> Components: Documentation
> Reporter: Donald Naro
> Assignee: Donald Naro
> Priority: Major
> Fix For: 10.1.0.Final
>
>
> Productize content for marshalling and protostream.
> Modularize existing content.
> Show consistent examples for usage (i.e. should match CLI example).
> Identify additional changes and work to develop customer content.
> Review Server Guide marshalling section (8. Adding Custom Marshaller Bridges) and make sure this is relevant and up to date for DG 8
> From Ryan:
> - protostream and marshalling:
> The important things to document are:
> Jboss marshalling no longer present by default, infinispan-jboss-marshalling jar must be added to the classpath of the client/server if required.
> - Externalizers ignored unless this is present
> Protostream is the default marshaller for user types. Need to document the process of generating marshallers using pojos, and configuring the serialization context.
> - Best practices on how to evolve schemas to ensure backwards-compatibility
> Possible to configure a custom user marshaller in embedded mode, for example if the user wants to use Java Serialization but not jboss marshalling.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 4 months
[JBoss JIRA] (ISPN-11085) ContainerInfinispanServerDriver#restartCluster() throwing IllegalStateException
by Gustavo Lira e Silva (Jira)
[ https://issues.redhat.com/browse/ISPN-11085?page=com.atlassian.jira.plugi... ]
Gustavo Lira e Silva reassigned ISPN-11085:
-------------------------------------------
Assignee: Tristan Tarrant
> ContainerInfinispanServerDriver#restartCluster() throwing IllegalStateException
> -------------------------------------------------------------------------------
>
> Key: ISPN-11085
> URL: https://issues.redhat.com/browse/ISPN-11085
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite
> Affects Versions: 10.1.0.CR1
> Reporter: Gustavo Lira e Silva
> Assignee: Tristan Tarrant
> Priority: Major
>
> ContainerInfinispanServerDriver#restartCluster() is throwing IllegalStateException
> The following code was used:
> {code:java}
> ConfigurationBuilder builder = new ConfigurationBuilder();
> builder.clustering().cacheMode(CacheMode.DIST_SYNC).persistence().addSingleFileStore();
> RemoteCache<Object, Object> hotRod = SERVER_TEST.hotrod().withServerConfiguration(builder).create();
> for (int i = 0; i < 100; i++) {
> hotRod.put(String.format("k%03d", i), String.format("v%03d", i));
> }
> ContainerInfinispanServerDriver serverDriver = (ContainerInfinispanServerDriver) SERVER.getServerDriver();
> SERVER_TEST.rest().get().cluster().stop();
> waitUntilServerStopped()
> serverDriver.restartCluster();
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 4 months
[JBoss JIRA] (ISPN-11085) ContainerInfinispanServerDriver#restartCluster() throwing IllegalStateException
by Gustavo Lira e Silva (Jira)
Gustavo Lira e Silva created ISPN-11085:
-------------------------------------------
Summary: ContainerInfinispanServerDriver#restartCluster() throwing IllegalStateException
Key: ISPN-11085
URL: https://issues.redhat.com/browse/ISPN-11085
Project: Infinispan
Issue Type: Bug
Components: Test Suite
Affects Versions: 10.1.0.CR1
Reporter: Gustavo Lira e Silva
ContainerInfinispanServerDriver#restartCluster() is throwing IllegalStateException
The following code was used:
{code:java}
ConfigurationBuilder builder = new ConfigurationBuilder();
builder.clustering().cacheMode(CacheMode.DIST_SYNC).persistence().addSingleFileStore();
RemoteCache<Object, Object> hotRod = SERVER_TEST.hotrod().withServerConfiguration(builder).create();
for (int i = 0; i < 100; i++) {
hotRod.put(String.format("k%03d", i), String.format("v%03d", i));
}
ContainerInfinispanServerDriver serverDriver = (ContainerInfinispanServerDriver) SERVER.getServerDriver();
SERVER_TEST.rest().get().cluster().stop();
waitUntilServerStopped()
serverDriver.restartCluster();
{code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 4 months
[JBoss JIRA] (ISPN-10836) Docs Productization: Marshalling
by Ryan Emerson (Jira)
[ https://issues.redhat.com/browse/ISPN-10836?page=com.atlassian.jira.plugi... ]
Ryan Emerson resolved ISPN-10836.
---------------------------------
Fix Version/s: 10.1.0.Final
Resolution: Done
> Docs Productization: Marshalling
> --------------------------------
>
> Key: ISPN-10836
> URL: https://issues.redhat.com/browse/ISPN-10836
> Project: Infinispan
> Issue Type: Enhancement
> Components: Documentation
> Reporter: Donald Naro
> Assignee: Donald Naro
> Priority: Major
> Fix For: 10.1.0.Final
>
>
> Productize content for marshalling and protostream.
> Modularize existing content.
> Show consistent examples for usage (i.e. should match CLI example).
> Identify additional changes and work to develop customer content.
> Review Server Guide marshalling section (8. Adding Custom Marshaller Bridges) and make sure this is relevant and up to date for DG 8
> From Ryan:
> - protostream and marshalling:
> The important things to document are:
> Jboss marshalling no longer present by default, infinispan-jboss-marshalling jar must be added to the classpath of the client/server if required.
> - Externalizers ignored unless this is present
> Protostream is the default marshaller for user types. Need to document the process of generating marshallers using pojos, and configuring the serialization context.
> - Best practices on how to evolve schemas to ensure backwards-compatibility
> Possible to configure a custom user marshaller in embedded mode, for example if the user wants to use Java Serialization but not jboss marshalling.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 4 months