[infinispan-issues] [JBoss JIRA] (ISPN-2054) Incorrect cache size on CacheEntryCreated and pre=false

Mircea Markus (JIRA) jira-events at lists.jboss.org
Mon Oct 8 08:24:03 EDT 2012


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

Mircea Markus commented on ISPN-2054:
-------------------------------------

This is a bug: when the listener is notified with (event.isPre == false), the change that triggered the event is not visible to the user as the notification happens before exiting the EntryWrappingInterceptor.
For all types of notifications, when event.isPre==false, the modification should be visible into the cache. OTHO when event.isPre == true the modification shouldn't be visible.

                
> Incorrect cache size on CacheEntryCreated and pre=false
> -------------------------------------------------------
>
>                 Key: ISPN-2054
>                 URL: https://issues.jboss.org/browse/ISPN-2054
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Listeners
>    Affects Versions: 5.1.4.FINAL, 5.1.5.CR1
>            Reporter: Julio Faerman
>            Assignee: Manik Surtani
>            Priority: Minor
>              Labels: cache, infinispan, listener, size
>             Fix For: 5.2.0.Final
>
>
> I have found that on CacheEntryCreated the cache size is the same both when pre=true and pre=false, what can be wrong. The discussion can be read in the forum reference.
> Here is the reproducible test case:
> https://github.com/jfaerman/sandbox/blob/master/ispn-tests/src/test/java/jfaerman/TestCacheSize.java
>  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the infinispan-issues mailing list