[infinispan-issues] [JBoss JIRA] Created: (ISPN-1188) config schema - isolationLevel attribute allows unsupported isolation modes

Michal Linhard (JIRA) jira-events at lists.jboss.org
Thu Jun 16 05:45:23 EDT 2011


config schema - isolationLevel attribute allows unsupported isolation modes
---------------------------------------------------------------------------

                 Key: ISPN-1188
                 URL: https://issues.jboss.org/browse/ISPN-1188
             Project: Infinispan
          Issue Type: Bug
          Components: Configuration
    Affects Versions: 5.0.0.CR5
            Reporter: Michal Linhard
            Assignee: Manik Surtani


The configuration schema, attribute infinispan.configuration.locking.isolationLevel
allows picking of two unsupported isolation levels
READ_UNCOMMITTED
SERIALIZABLE

We don't even warn when such isolation type is used - in the code we use tests like:
useReadCommitted = configuration.getIsolationLevel() == IsolationLevel.READ_COMMITTED;
useRepeatableRead = configuration.getIsolationLevel() == IsolationLevel.REPEATABLE_READ;

shouldn't we remove these from schema to avoid confusion ?

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the infinispan-issues mailing list