[infinispan-issues] [JBoss JIRA] (ISPN-11272) RecoveryManagerImpl should use Caffeine map

Will Burns (Jira) issues at jboss.org
Mon Feb 3 17:29:05 EST 2020


    [ https://issues.redhat.com/browse/ISPN-11272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13962544#comment-13962544 ] 

Will Burns commented on ISPN-11272:
-----------------------------------

This was found when we found a call to Cache#put which can block under certain configurations. 

> RecoveryManagerImpl should use Caffeine map
> -------------------------------------------
>
>                 Key: ISPN-11272
>                 URL: https://issues.redhat.com/browse/ISPN-11272
>             Project: Infinispan
>          Issue Type: Task
>          Components: Core
>            Reporter: Will Burns
>            Priority: Major
>
> The RecoveryManagerImpl currently allows a user to configure the cache for holding in doubt transactions. The key and value both are not marshallable and thus the cache cannot be clustered or have persistence in any way. We should remove this configuration option and just create a Caffeine map that has lifespan set on the key.
> Also the key can just be Xid as long as the RecoveryManager is scoped to a named cache.



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the infinispan-issues mailing list