Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1156071

Summary: Missing partition handling configuration in schema
Product: [JBoss] JBoss Data Grid 6 Reporter: Radim Vansa <rvansa>
Component: InfinispanAssignee: Martin Gencur <mgencur>
Status: CLOSED CURRENTRELEASE QA Contact: Martin Gencur <mgencur>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.4.0CC: dmehra, jdg-bugs, mgencur, mhusnain, slaskawi
Target Milestone: ER8   
Target Release: 6.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Known Issue
Doc Text:
Previously in Red Hat JBoss Data Grid, the configuration schema for embedded (library) mode did not contain configuration elements for partition handling. This issue is now resolved in JBoss Data Grid 6.4 and the configurations for partition handling are included in the configuration schema.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-28 13:25:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Radim Vansa 2014-10-23 14:07:24 UTC
JDG 6.4 schema (infinispan-config-6.2.xsd) is missing partition handling configuration.

Comment 2 Martin Gencur 2014-11-14 12:11:12 UTC
The configuration of partition-handling has only one element which is placed inside the configuration for replicated/distributed cache:

          <xs:element name="partition-handling" minOccurs="0" maxOccurs="1">
             <xs:annotation>
                <xs:documentation>
                   Configures the way this cache reacts to node crashes and split brains.
                </xs:documentation>
             </xs:annotation>
             <xs:complexType>
                <xs:attribute name="enabled" type="xs:boolean" use="optional">
                   <xs:annotation>
                      <xs:documentation>
                         Enable/disable the partition handling functionality. Defaults to false.
                      </xs:documentation>
                   </xs:annotation>
                </xs:attribute>
             </xs:complexType>
          </xs:element>

Comment 3 Martin Gencur 2014-11-14 12:17:05 UTC
Changed the doc text to reflect that the feature can be used. It's just the configuration schema that misses information about configuration.

Comment 7 Martin Gencur 2014-12-09 11:56:50 UTC
PR: https://github.com/infinispan/jdg/pull/390

Comment 8 Martin Gencur 2014-12-09 11:59:15 UTC
The partition handling configuration for library mode now looks like this:
<partitionHandling enabled="true" /> ,
and is placed inside <clustering> configuration element.