[JBoss JIRA] (ISPN-8341) CLI: Setting configuration cache attribute creates new cache-configuration
by Sebastian Łaskawiec (JIRA)
Sebastian Łaskawiec created ISPN-8341:
-----------------------------------------
Summary: CLI: Setting configuration cache attribute creates new cache-configuration
Key: ISPN-8341
URL: https://issues.jboss.org/browse/ISPN-8341
Project: Infinispan
Issue Type: Bug
Components: CLI, WildFly modules
Reporter: Sebastian Łaskawiec
Assignee: Tristan Tarrant
Priority: Minor
When I use the CLI to set cache template using the following command ({{cloud.xml}} configuration):
{code}
/subsystem=datagrid-infinispan/cache-container=clustered/distributed-cache=default:write-attribute(name=configuration, value=persistent-file-store-write-behind)
{code}
a new configuration element is added automatically. Here's how it looks like:
{code}
<cache-container name="clustered" default-cache="default" statistics="true">
...
<!-- This element has been automatically created - why? -->
<distributed-cache-configuration name="default"/>
</cache-container>
{code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 6 months
[JBoss JIRA] (ISPN-8331) CacheEntryExpiredEvent.getValue() is always null when entry expired from cache store
by William Burns (JIRA)
[ https://issues.jboss.org/browse/ISPN-8331?page=com.atlassian.jira.plugin.... ]
William Burns updated ISPN-8331:
--------------------------------
Issue Type: Enhancement (was: Bug)
Unfortunately this is the way the loader spi was implemented. I would love to change this to support values as well. If we do, we may want to provide a way to optionally pull the value such as a `Supplier` to get the value. I am not sure if we have implementations that it may be very costly to pull the value or not.
Also cc/ [~ryanemerson] since he has been dealing with loaders recently.
> CacheEntryExpiredEvent.getValue() is always null when entry expired from cache store
> ------------------------------------------------------------------------------------
>
> Key: ISPN-8331
> URL: https://issues.jboss.org/browse/ISPN-8331
> Project: Infinispan
> Issue Type: Enhancement
> Components: Expiration
> Affects Versions: 9.1.1.Final
> Reporter: Paul Ferraro
>
> AdvancedCacheWriter.PurgeListener callback only sends the key of the expired entry.
> Proposal:
> AdvancedCacheWriter.PurgeListener.entryPurged(MarshalledEntry entry);
> This way, we only incur the cost of unmarshalling value/metadata when requested.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 6 months