[Red Hat JIRA] (ISPN-12394) Allow templates to be defined clusterwide and persisted
by Ryan Emerson (Jira)
[ https://issues.redhat.com/browse/ISPN-12394?page=com.atlassian.jira.plugi... ]
Ryan Emerson updated ISPN-12394:
--------------------------------
Fix Version/s: 12.0.0.Dev05
> Allow templates to be defined clusterwide and persisted
> -------------------------------------------------------
>
> Key: ISPN-12394
> URL: https://issues.redhat.com/browse/ISPN-12394
> Project: Infinispan
> Issue Type: Enhancement
> Components: Configuration, Core
> Affects Versions: 12.0.0.Dev04
> Reporter: Ryan Emerson
> Assignee: Ryan Emerson
> Priority: Major
> Fix For: 12.0.0.Dev05
>
>
> Currently it's only possible to define a cache configuration locally at runtime. It should be possible to define a configuration template clusterwide. Furthermore, if an overlay storage is utilised the defined configurations should be stored in a configs.xml file.
> A {{CACHE_CONFIG_SCOPE}} needs to be added to the {{GlobalConfigurationManagerImpl}}, with the cache listener updated to handle the scope. The {{LocalConfigurationStorage}} also needs updating to allow templates to be stored and persisted.
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
5 years, 3 months
[Red Hat JIRA] (ISPN-12626) Document @ProtoAdaptor for marshalling of external classes
by Donald Naro (Jira)
[ https://issues.redhat.com/browse/ISPN-12626?page=com.atlassian.jira.plugi... ]
Donald Naro updated ISPN-12626:
-------------------------------
Git Pull Request: https://github.com/infinispan/infinispan/pull/8984, https://github.com/infinispan/infinispan/pull/9000 (was: https://github.com/infinispan/infinispan/pull/8984)
> Document @ProtoAdaptor for marshalling of external classes
> ----------------------------------------------------------
>
> Key: ISPN-12626
> URL: https://issues.redhat.com/browse/ISPN-12626
> Project: Infinispan
> Issue Type: Task
> Components: Documentation
> Affects Versions: 12.0.0.CR1
> Reporter: Ryan Emerson
> Assignee: Donald Naro
> Priority: Major
> Fix For: 12.0.0.Final
>
>
> Protostream 4.4.0.Alpha4 added support for automatically generating marshallers for external classes via the {{@ProtoAdaptor}} field. This greatly simplifies how a user can marshall third party classes, as it's no longer necessary to implement the {{MessageMarshaller}} interface and explicitly create a {{SerializationContextInitializer}} implementation.
> Process for using {{@ProtoAdaptor}}
> 1. Create an adaptor class and add the {{@ProtoAdaptor}} annotation
> {code:java}
> @ProtoAdapter(UUID.class)
> public class UUIDAdapter {
> @ProtoFactory
> UUID create(Long mostSigBitsFixed, Long leastSigBitsFixed) {
> return new UUID(mostSigBitsFixed, leastSigBitsFixed);
> }
> @ProtoField(number = 1, type = Type.FIXED64, defaultValue = "0")
> Long getMostSigBitsFixed(UUID uuid) {
> return uuid.getMostSignificantBits();
> }
> @ProtoField(number = 2, type = Type.FIXED64, defaultValue = "0")
> Long getLeastSigBitsFixed(UUID uuid) {
> return uuid.getLeastSignificantBits();
> }
> }
> {code}
> 2. Register {{UUIDAdapter}} with your {{SerialiazationContextInitializer}} interface (LibraryInitializer in the docs examples).
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
5 years, 3 months
[Red Hat JIRA] (ISPN-12635) Multimap Bucket can't get replicated in server mode
by Katia Aresti (Jira)
[ https://issues.redhat.com/browse/ISPN-12635?page=com.atlassian.jira.plugi... ]
Katia Aresti updated ISPN-12635:
--------------------------------
Fix Version/s: 12.0.0.Final
Resolution: Done
Status: Resolved (was: Pull Request Sent)
> Multimap Bucket can't get replicated in server mode
> ---------------------------------------------------
>
> Key: ISPN-12635
> URL: https://issues.redhat.com/browse/ISPN-12635
> Project: Infinispan
> Issue Type: Bug
> Components: Multimap
> Affects Versions: 12.0.0.CR1
> Reporter: Katia Aresti
> Assignee: Pedro Ruivo
> Priority: Critical
> Fix For: 12.0.0.Final
>
>
> Mulitmap put/get only sends the function over the network, which works fine. But, if you have to replicate the {{Bucket}} class, it will fail (state transfer & cross-site are 2 examples)
> This happens because of {{MultimapRequestProcessor}} which wraps the user's key & value with {{WrappedByteArray}} and the "user marhsaller" is unable to handle {{WrappedByteArray}}. Wrapping the keys & values with {{WrappedByteArray}} is no longer necessary and it should be removed.
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
5 years, 3 months
[Red Hat JIRA] (ISPN-12641) IllegalArgumentException when using eviction by size with protobuf indexed caches
by Gustavo Fernandes (Jira)
[ https://issues.redhat.com/browse/ISPN-12641?page=com.atlassian.jira.plugi... ]
Gustavo Fernandes updated ISPN-12641:
-------------------------------------
Git Pull Request: https://github.com/infinispan/infinispan/pull/8999
Status: Pull Request Sent (was: Coding In Progress)
> IllegalArgumentException when using eviction by size with protobuf indexed caches
> ---------------------------------------------------------------------------------
>
> Key: ISPN-12641
> URL: https://issues.redhat.com/browse/ISPN-12641
> Project: Infinispan
> Issue Type: Bug
> Components: Remote Querying
> Affects Versions: 12.0.0.CR1
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
> Priority: Major
>
> {noformat}
> 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
> at org.infinispan.client.hotrod.impl.protocol.Codec20.checkForErrorsInResponseStatus(Codec20.java:333)
> at org.infinispan.client.hotrod.impl.protocol.Codec20.readHeader(Codec20.java:172)
> at org.infinispan.client.hotrod.impl.transport.netty.HeaderDecoder.decode(HeaderDecoder.java:139)
> at org.infinispan.client.hotrod.impl.transport.netty.HintedReplayingDecoder.callDecode(HintedReplayingDecoder.java:94)
> {noformat}
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
5 years, 3 months
[Red Hat JIRA] (ISPN-12641) IllegalArgumentException when using eviction by size with protobuf indexed caches
by Gustavo Fernandes (Jira)
[ https://issues.redhat.com/browse/ISPN-12641?page=com.atlassian.jira.plugi... ]
Work on ISPN-12641 started by Gustavo Fernandes.
------------------------------------------------
> IllegalArgumentException when using eviction by size with protobuf indexed caches
> ---------------------------------------------------------------------------------
>
> Key: ISPN-12641
> URL: https://issues.redhat.com/browse/ISPN-12641
> Project: Infinispan
> Issue Type: Bug
> Components: Remote Querying
> Affects Versions: 12.0.0.CR1
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
> Priority: Major
>
> {noformat}
> 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
> at org.infinispan.client.hotrod.impl.protocol.Codec20.checkForErrorsInResponseStatus(Codec20.java:333)
> at org.infinispan.client.hotrod.impl.protocol.Codec20.readHeader(Codec20.java:172)
> at org.infinispan.client.hotrod.impl.transport.netty.HeaderDecoder.decode(HeaderDecoder.java:139)
> at org.infinispan.client.hotrod.impl.transport.netty.HintedReplayingDecoder.callDecode(HintedReplayingDecoder.java:94)
> {noformat}
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
5 years, 3 months
[Red Hat JIRA] (ISPN-12641) IllegalArgumentException when using eviction by size with protobuf indexed caches
by Gustavo Fernandes (Jira)
[ https://issues.redhat.com/browse/ISPN-12641?page=com.atlassian.jira.plugi... ]
Gustavo Fernandes updated ISPN-12641:
-------------------------------------
Summary: IllegalArgumentException when using eviction by size with protobuf indexed caches (was: IllegalArgumentException whem using size eviction with protobuf caches)
> IllegalArgumentException when using eviction by size with protobuf indexed caches
> ---------------------------------------------------------------------------------
>
> Key: ISPN-12641
> URL: https://issues.redhat.com/browse/ISPN-12641
> Project: Infinispan
> Issue Type: Bug
> Components: Remote Querying
> Affects Versions: 12.0.0.CR1
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
> Priority: Major
>
> {noformat}
> 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
> at org.infinispan.client.hotrod.impl.protocol.Codec20.checkForErrorsInResponseStatus(Codec20.java:333)
> at org.infinispan.client.hotrod.impl.protocol.Codec20.readHeader(Codec20.java:172)
> at org.infinispan.client.hotrod.impl.transport.netty.HeaderDecoder.decode(HeaderDecoder.java:139)
> at org.infinispan.client.hotrod.impl.transport.netty.HintedReplayingDecoder.callDecode(HintedReplayingDecoder.java:94)
> {noformat}
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
5 years, 3 months
[Red Hat JIRA] (ISPN-12641) IllegalArgumentException whem using size eviction with protobuf caches
by Gustavo Fernandes (Jira)
[ https://issues.redhat.com/browse/ISPN-12641?page=com.atlassian.jira.plugi... ]
Gustavo Fernandes updated ISPN-12641:
-------------------------------------
Status: Open (was: New)
> IllegalArgumentException whem using size eviction with protobuf caches
> ----------------------------------------------------------------------
>
> Key: ISPN-12641
> URL: https://issues.redhat.com/browse/ISPN-12641
> Project: Infinispan
> Issue Type: Bug
> Components: Remote Querying
> Affects Versions: 12.0.0.CR1
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
> Priority: Major
>
> {noformat}
> 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
> at org.infinispan.client.hotrod.impl.protocol.Codec20.checkForErrorsInResponseStatus(Codec20.java:333)
> at org.infinispan.client.hotrod.impl.protocol.Codec20.readHeader(Codec20.java:172)
> at org.infinispan.client.hotrod.impl.transport.netty.HeaderDecoder.decode(HeaderDecoder.java:139)
> at org.infinispan.client.hotrod.impl.transport.netty.HintedReplayingDecoder.callDecode(HintedReplayingDecoder.java:94)
> {noformat}
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
5 years, 3 months