Uploaded image for project: 'Red Hat Data Grid'
  1. Red Hat Data Grid
  2. JDG-352

Conf. Conversion Tool: deadlockDetection tag is not parsed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • JDG 7.0.0 ER6
    • JDG 7.0.0 ER5
    • Core
    • None

      While converting the 6.0 configuration xml using the conversion tool, the deadlockDetection tag is not parsed at all.

      The following xml:

      <infinispan>
          <namedCache name="withDeadlockDetection">
              <clustering mode="dist">
                  <sync replTimeout="20000" />
              </clustering>
              <deadlockDetection enabled="true" spinDuration="1221" />
          </namedCache>
      </infinispan>
      

      is parsed to:

      <infinispan>
          <threads/>
          <cache-container name="DefaultCacheManager">
              <jmx/>
              <distributed-cache mode="SYNC" remote-timeout="20000" name="withDeadlockDetection">
                  <transaction mode="NONE"/>
              </distributed-cache>
          </cache-container>
      </infinispan>
      

      From infinispan-8.3.xsd I can see that the distributed-cache and distributed-cache-configuration tags may have an attribute deadlock-detection-spin which in this case should be set to 1221.

            ttarrant@redhat.com Tristan Tarrant
            amanukya@redhat.com Anna Manukyan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: