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

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Wed Oct 10 13:03:03 EDT 2007


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
             Fix For: 2.1.0.CR1


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