[jboss-jira] [JBoss JIRA] Closed: (JBCACHE-1196) Option cacheModeLocal value gets changed during PESSIMISTIC calls

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Thu Oct 11 08:52:22 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBCACHE-1196?page=all ]

Brian Stansberry closed JBCACHE-1196.
-------------------------------------

    Fix Version/s:     (was: 2.1.0.CR1)
       Resolution: Won't Fix

A caller should not attempt to reuse an instance of Option. Once you pass it to the cache, it belongs to the cache.

> Option cacheModeLocal value gets changed during PESSIMISTIC calls
> -----------------------------------------------------------------
>
>                 Key: JBCACHE-1196
>                 URL: http://jira.jboss.com/jira/browse/JBCACHE-1196
>             Project: JBoss Cache
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Replication
>    Affects Versions: 2.1.0.BETA1
>            Reporter: Brian Stansberry
>         Assigned To: Brian Stansberry
>
> In org.jboss.cache.options.ForceCacheModeTest I unthinkingly used the same instance of an Option for two invocations. Option.cacheModeLocal meant to be true.  Found that with PESSIMISTIC locking enabled, cacheModeLocal would be set to false when the first request returned.  This led to intermittent failures in the tests, as the initial state of the system was not as expected.
> Need to determine why the Option value is being changed.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list