[JBoss JIRA] (ISPN-11974) Remove GenericJbossMarshaller automatic configuration
by Ryan Emerson (Jira)
[ https://issues.redhat.com/browse/ISPN-11974?page=com.atlassian.jira.plugi... ]
Ryan Emerson updated ISPN-11974:
--------------------------------
Status: Open (was: New)
> Remove GenericJbossMarshaller automatic configuration
> -----------------------------------------------------
>
> Key: ISPN-11974
> URL: https://issues.redhat.com/browse/ISPN-11974
> Project: Infinispan
> Issue Type: Task
> Components: Configuration, Hot Rod
> Affects Versions: 11.0.0.CR1
> Reporter: Ryan Emerson
> Assignee: Ryan Emerson
> Priority: Major
> Fix For: 12.0.0.Final
>
>
> Currently if the {{infinispan-jboss-marshalling}} module is on the client classpath we automatically configure the client marshaller to be {{GenericJBossMarshaller}}. This causes issues with our testsuite, as the module is often on the classpath. Furthermore, we want users to start transitioning away from JBoss Marshalling. Therefore, from Infinispan 12 we should no automatically configure this marshaller if the module is present.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 10 months
[JBoss JIRA] (ISPN-11981) Stale immortal entry metadata
by Dan Berindei (Jira)
Dan Berindei created ISPN-11981:
-----------------------------------
Summary: Stale immortal entry metadata
Key: ISPN-11981
URL: https://issues.redhat.com/browse/ISPN-11981
Project: Infinispan
Issue Type: Bug
Components: Core
Affects Versions: 10.1.8.Final, 11.0.0.CR1
Reporter: Dan Berindei
Assignee: Dan Berindei
Fix For: 11.0.0.Final
When an entry is updated, {{InternalEntryFactoryImpl}} tries to reuse the existing {{InternalCacheEntry}} instance instead of creating a new one. The condition is that both the new and the old entry have the same implementation implementation: immortal, immortal w/ external metadata, transient, transient w/ metadata etc.
Because {{MetadataImmortalCacheEntry}} extends {{ImmortalCacheEntry}}, that logic is broken: when an immortal entry with external metadata is replaced with a new entry without external metadata, the external metadata is not removed.
This impacts the anchored keys module, which I am changing to store the key location in the metadata (currently it is stored as a value, and it is broken with BINARY/OFF_HEAP storage). When a node leaves and an entry located on the leaver is updated, the key is written on the newest joiner. The joiner already has a local entry with {{RemoteMetadata}}, and is trying to write a value without any metadata.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 10 months
[JBoss JIRA] (ISPN-11981) Stale immortal entry metadata
by Dan Berindei (Jira)
[ https://issues.redhat.com/browse/ISPN-11981?page=com.atlassian.jira.plugi... ]
Dan Berindei updated ISPN-11981:
--------------------------------
Status: Open (was: New)
> Stale immortal entry metadata
> -----------------------------
>
> Key: ISPN-11981
> URL: https://issues.redhat.com/browse/ISPN-11981
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 11.0.0.CR1, 10.1.8.Final
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Priority: Major
> Fix For: 11.0.0.Final
>
>
> When an entry is updated, {{InternalEntryFactoryImpl}} tries to reuse the existing {{InternalCacheEntry}} instance instead of creating a new one. The condition is that both the new and the old entry have the same implementation implementation: immortal, immortal w/ external metadata, transient, transient w/ metadata etc.
> Because {{MetadataImmortalCacheEntry}} extends {{ImmortalCacheEntry}}, that logic is broken: when an immortal entry with external metadata is replaced with a new entry without external metadata, the external metadata is not removed.
> This impacts the anchored keys module, which I am changing to store the key location in the metadata (currently it is stored as a value, and it is broken with BINARY/OFF_HEAP storage). When a node leaves and an entry located on the leaver is updated, the key is written on the newest joiner. The joiner already has a local entry with {{RemoteMetadata}}, and is trying to write a value without any metadata.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 10 months
[JBoss JIRA] (ISPN-11980) Storage type HEAP default encoding should be application/x-java-object
by Dan Berindei (Jira)
Dan Berindei created ISPN-11980:
-----------------------------------
Summary: Storage type HEAP default encoding should be application/x-java-object
Key: ISPN-11980
URL: https://issues.redhat.com/browse/ISPN-11980
Project: Infinispan
Issue Type: Bug
Components: Core
Affects Versions: 11.0.0.CR1
Reporter: Dan Berindei
Assignee: Dan Berindei
Fix For: 11.0.0.Final
Storage type {{HEAP}} is supposed to be a replacement for {{OBJECT+BINARY}}, storing POJOs in the data container by default but allowing the user to store serialized keys and values by configuring an encoding other than {{application/x-java-object}}.
The current {{StorageConfigurationManager}} code doesn't work like that, and the default encoding for {{HEAP}} storage is the user marshaller's media type (by default {{application/x-protostream}}).
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 10 months
[JBoss JIRA] (ISPN-11980) Storage type HEAP default encoding should be application/x-java-object
by Dan Berindei (Jira)
[ https://issues.redhat.com/browse/ISPN-11980?page=com.atlassian.jira.plugi... ]
Dan Berindei updated ISPN-11980:
--------------------------------
Status: Open (was: New)
> Storage type HEAP default encoding should be application/x-java-object
> ----------------------------------------------------------------------
>
> Key: ISPN-11980
> URL: https://issues.redhat.com/browse/ISPN-11980
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 11.0.0.CR1
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Priority: Major
> Fix For: 11.0.0.Final
>
>
> Storage type {{HEAP}} is supposed to be a replacement for {{OBJECT+BINARY}}, storing POJOs in the data container by default but allowing the user to store serialized keys and values by configuring an encoding other than {{application/x-java-object}}.
> The current {{StorageConfigurationManager}} code doesn't work like that, and the default encoding for {{HEAP}} storage is the user marshaller's media type (by default {{application/x-protostream}}).
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 10 months