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

Conf. Conversion Tool: *Executor tags are not converted properly

XMLWordPrintable

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

      When parsing the 6.0 configuration xml using the converstion tool, the asyncListenerExecutor, persistenceExecutor, evictionScheduledExecutor and replicationQueueScheduluedExecutor tags are not converted.

      For example, the following xml:

      <infinispan xmlns="urn:infinispan:config:6.0" xmlns:jdbc="urn:infinispan:config:jdbc:6.0" xmlns:remote="urn:infinispan:config:remote:6.0"
          xmlns:leveldb="urn:infinispan:config:leveldb:6.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="urn:infinispan:config:6.0 http://www.infinispan.org/schemas/infinispan-config-6.0.xsd
                              urn:infinispan:config:jdbc:6.0 http://www.infinispan.org/schemas/infinispan-cachestore-jdbc-config-6.0.xsd
                              urn:infinispan:config:remote:6.0 http://www.infinispan.org/schemas/infinispan-cachestore-remote-config-6.0.xsd
                              urn:infinispan:config:store:rest:6.0 http://www.infinispan.org/schemas/infinispan-cachestore-rest-config-6.0.xsd
                              urn:infinispan:config:store:leveldb:6.0 http://www.infinispan.org/schemas/infinispan-cachestore-leveldb-config-6.0.xsd">
      
      
          <global>
      
              <asyncListenerExecutor factory="org.infinispan.executors.DefaultExecutorFactory">
                  <properties>
                      <property name="maxThreads" value="5" />
                      <property name="queueSize" value="10000" />
                      <property name="threadNamePrefix" value="AsyncListenerThread" />
                  </properties>
              </asyncListenerExecutor>
      
              <persistenceExecutor factory="org.infinispan.executors.DefaultExecutorFactory">
                  <properties>
                      <property name="maxThreads" value="6" />
                      <property name="queueSize" value="10001" />
                      <property name="threadNamePrefix" value="PersistenceThread" />
                  </properties>
              </persistenceExecutor>
      
              <evictionScheduledExecutor factory="org.infinispan.executors.DefaultScheduledExecutorFactory">
                  <properties>
                      <property name="threadNamePrefix" value="EvictionThread" />
                  </properties>
              </evictionScheduledExecutor>
      
              <replicationQueueScheduledExecutor factory="org.infinispan.executors.DefaultScheduledExecutorFactory">
                  <properties>
                      <property name="threadNamePrefix" value="ReplicationQueueThread" />
                  </properties>
              </replicationQueueScheduledExecutor>
          </global>
      </infinispan>
      

      is converted to this one:

      <infinispan>
          <jgroups transport="org.infinispan.remoting.transport.jgroups.JGroupsTransport"/>
          <threads/>
          <cache-container name="DefaultCacheManager">
              <transport/>
              <jmx/>
          </cache-container>
      </infinispan>
      

            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: