[JBoss JIRA] (ISPN-7668) Merge implementation is not correct on SimpleCache
by Katia Aresti (JIRA)
Katia Aresti created ISPN-7668:
----------------------------------
Summary: Merge implementation is not correct on SimpleCache
Key: ISPN-7668
URL: https://issues.jboss.org/browse/ISPN-7668
Project: Infinispan
Issue Type: Bug
Components: Core
Reporter: Katia Aresti
Assignee: Radim Vansa
Merge method is not correctly implemented in SimpleCache.
Merge should work this way :
* if the key is not present, add the value
* If the key is present, apply the function between the existing key's value and the given value and replace the key with the merged result
* If the merge function returns null, remove the key
The case that should work as "putIfAbsent" does't work. Merge function is applied to null and the given value.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 9 months
[JBoss JIRA] (ISPN-7667) Use ArrayDeque for transaction context iterator
by William Burns (JIRA)
William Burns created ISPN-7667:
-----------------------------------
Summary: Use ArrayDeque for transaction context iterator
Key: ISPN-7667
URL: https://issues.jboss.org/browse/ISPN-7667
Project: Infinispan
Issue Type: Bug
Reporter: William Burns
Fix For: 9.0.0.Final
Transaction iterator stores entries from the context into a List. It then removes the first element from that as it processes those entries. This should use an ArrayDeque to have constant time removals (where as ArrayList needs to move entries to compensate removing from the front).
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 9 months
[JBoss JIRA] (ISPN-7644) Administration console - Loader tab allows invalid configuration to be set.
by Ryan Emerson (JIRA)
[ https://issues.jboss.org/browse/ISPN-7644?page=com.atlassian.jira.plugin.... ]
Ryan Emerson updated ISPN-7644:
-------------------------------
Status: Pull Request Sent (was: Reopened)
Git Pull Request: https://github.com/infinispan/infinispan-management-console/pull/200, https://github.com/infinispan/infinispan-management-console/pull/201 (was: https://github.com/infinispan/infinispan-management-console/pull/200)
> Administration console - Loader tab allows invalid configuration to be set.
> ---------------------------------------------------------------------------
>
> Key: ISPN-7644
> URL: https://issues.jboss.org/browse/ISPN-7644
> Project: Infinispan
> Issue Type: Bug
> Components: JMX, reporting and management
> Affects Versions: 9.0.0.CR2
> Reporter: Roman Macor
> Assignee: Ryan Emerson
> Fix For: 9.0.0.Final
>
>
> Click on cache container -> cache -> configuration -> loader tab
> Some options in loader type drop down such as "Async Cache loader" (but there might be more of them) result in following error, after cluster restart:
> ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 19) WFLYCTL0013: Operation ("add") failed - address: ([
> ("subsystem" => "datagrid-infinispan"),
> ("cache-container" => "clustered"),
> ("configurations" => "CONFIGURATIONS"),
> ("distributed-cache-configuration" => "distributedCache")
> ]) - failure description: "DGISPN0102: org.infinispan.persistence.async.AsyncCacheLoader is not a valid cache store"
> Then there are valid options such as "Single File Store" which work if there is a corresponding cache store set up, in this case, File store. But if there isn't a cache store configured, the cache is no longer available after restart and configuration cannot be fixed from the console.
> I suggest we add a restriction when configuring cache loaders in the console which wouldn't allow the users to configure cache loader without having to configure appropriate cache store first.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 9 months