Bug 1156071 - Missing partition handling configuration in schema
Summary: Missing partition handling configuration in schema
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Data Grid 6
Classification: JBoss
Component: Infinispan
Version: 6.4.0
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ER8
: 6.4.0
Assignee: Martin Gencur
QA Contact: Martin Gencur
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-23 14:07 UTC by Radim Vansa
Modified: 2015-02-22 23:59 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-01-28 13:25:36 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.