[infinispan-issues] [JBoss JIRA] (ISPN-3656) Relax Cache.clear() semantics

Galder Zamarreño (JIRA) issues at jboss.org
Wed Jul 16 09:26:30 EDT 2014


     [ https://issues.jboss.org/browse/ISPN-3656?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Galder Zamarreño updated ISPN-3656:
-----------------------------------

    Fix Version/s:     (was: 7.0.0.Final)


> Relax Cache.clear() semantics
> -----------------------------
>
>                 Key: ISPN-3656
>                 URL: https://issues.jboss.org/browse/ISPN-3656
>             Project: Infinispan
>          Issue Type: Enhancement
>      Security Level: Public(Everyone can see) 
>          Components: Core, Loaders and Stores
>            Reporter: Galder Zamarreño
>            Assignee: Galder Zamarreño
>
> Clear should be non-transactional, independent of the cache configuration. This is because a transactional clear would, if implemented strictly, required all cache keys to be locked, which could lead to global deadlocks, particularly in distributed caches.
> Also, making cache clear cache contents eventually, not immediately would simplify AsyncStore implementation by relaxing the point at which clear happens. As an extension of this, it would simplify development of coalescing logic in other parts of Infinispan



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)



More information about the infinispan-issues mailing list