[jboss-jira] [JBoss JIRA] (WFLY-6124) Infinispan subsystem XSD disagrees with LockingResourceDefinition on default isolation level

Dmitrii Tikhomirov (JIRA) issues at jboss.org
Thu Feb 4 09:41:01 EST 2016


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

Dmitrii Tikhomirov reassigned WFLY-6124:
----------------------------------------

    Assignee: Dmitrii Tikhomirov  (was: Paul Ferraro)


> Infinispan subsystem XSD disagrees with LockingResourceDefinition on default isolation level
> --------------------------------------------------------------------------------------------
>
>                 Key: WFLY-6124
>                 URL: https://issues.jboss.org/browse/WFLY-6124
>             Project: WildFly
>          Issue Type: Bug
>          Components: Clustering
>    Affects Versions: 10.0.0.Final
>            Reporter: Ladislav Thon
>            Assignee: Dmitrii Tikhomirov
>
> The XSD for the Infinispan subsystem ({{jboss-as-infinispan_4_0.xsd}}) says that the default isolation level is {{REPEATABLE_READ}}:
> {code}
> <xs:complexType name="locking">
>     <xs:attribute name="isolation" type="tns:isolation" default="REPEATABLE_READ">
>         <xs:annotation>
>             <xs:documentation>Sets the cache locking isolation level.</xs:documentation>
>         </xs:annotation>
>     </xs:attribute>
> ...
> {code}
> However, the {{LockingResourceDefinition}} class, which is the ultimate source of truth, disagrees:
> {code}
> enum Attribute implements org.jboss.as.clustering.controller.Attribute {
>     ...
>         ISOLATION("isolation", ModelType.STRING, new ModelNode(IsolationLevel.READ_COMMITTED.name()), new EnumValidatorBuilder<>(IsolationLevel.class)),
> ...
> {code}
> I'm not sure myself which one should be the default, but this difference is surely a bug.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list