[infinispan-issues] [JBoss JIRA] (ISPN-4563) Race condition in JCache creation for interceptors

Sebastian Łaskawiec (JIRA) issues at jboss.org
Tue Sep 16 05:47:02 EDT 2014


    [ https://issues.jboss.org/browse/ISPN-4563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13002725#comment-13002725 ] 

Sebastian Łaskawiec commented on ISPN-4563:
-------------------------------------------

Example implementation: https://github.com/slaskawi/infinispan/commit/b37127f4b80d023ef922eeb6c79581ea008f88ad

> Race condition in JCache creation for interceptors
> --------------------------------------------------
>
>                 Key: ISPN-4563
>                 URL: https://issues.jboss.org/browse/ISPN-4563
>             Project: Infinispan
>          Issue Type: Bug
>          Components: CDI Integration
>    Affects Versions: 6.0.2.Final
>            Reporter: Elias Ross
>            Assignee: Sebastian Łaskawiec
>             Fix For: 7.0.0.Final
>
>
> Intercepted methods, annotated like @CacheResult, if called from multiple threads, can attempt to create multiple caches.
> Work-around is to create the cache in a @PostContruct block.



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)



More information about the infinispan-issues mailing list