Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-3209

Infinispan subsystem XSD disagrees with LockingResourceDefinition on default isolation level

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Done
    • Affects Version/s: 7.0.0.ER4
    • Fix Version/s: 7.0.0.ER6
    • Component/s: Clustering
    • Labels:
      None

      Description

      The XSD for the Infinispan subsystem (jboss-as-infinispan_4_0.xsd) says that the default isolation level is REPEATABLE_READ:

      <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>
      ...
      

      However, the LockingResourceDefinition class, which is the ultimate source of truth, disagrees:

      enum Attribute implements org.jboss.as.clustering.controller.Attribute {
          ...
              ISOLATION("isolation", ModelType.STRING, new ModelNode(IsolationLevel.READ_COMMITTED.name()), new EnumValidatorBuilder<>(IsolationLevel.class)),
      ...
      

      I'm not sure myself which one should be the default, but this difference is surely a bug.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  rhusar Radoslav Husar
                  Reporter:
                  lthon Ladislav Thon
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: