Skip to content

Commit cd53553

Browse files
wfinkrhusar
authored andcommitted
WFLY-20824 Description in the XSD of attribute segmented for infinispan file-store is wrong
Update the wording Update the documentation Signed-off-by: Radoslav Husar <radosoft@gmail.com>
1 parent 6f59658 commit cd53553

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

clustering/infinispan/extension/src/main/resources/org/jboss/as/clustering/infinispan/subsystem/LocalDescriptions.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ infinispan.store.fetch-state=If true, fetch persistent state when joining a clus
205205
infinispan.store.fetch-state.deprecated=Deprecated. Persistent state will always be fetched if store is not shared.
206206
infinispan.store.purge=If true, purges this cache store when it starts up.
207207
infinispan.store.max-batch-size=The maximum size of a batch to be inserted/deleted from the store. If the value is less than one, then no upper limit is placed on the number of operations in a batch.
208-
infinispan.store.segmented=Indicates whether or not this cache store should be segment aware.
208+
infinispan.store.segmented=Indicates whether or not the cache store is segmented. The number of segments is defined by the segments attribute of the associated cache resource.
209209
infinispan.store.properties=A list of cache store properties.
210210
infinispan.store.write=The write behavior of the cache store.
211211

clustering/infinispan/extension/src/main/resources/schema/jboss-as-infinispan_14_0.xsd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@
504504
</xs:attribute>
505505
<xs:attribute name="segmented" type="xs:boolean" default="true">
506506
<xs:annotation>
507-
<xs:documentation>If true, purges this cache store when it starts up.</xs:documentation>
507+
<xs:documentation>Indicates whether or not the cache store is segmented. The number of segments is defined by the segments attribute of the associated cache resource.</xs:documentation>
508508
</xs:annotation>
509509
</xs:attribute>
510510
</xs:complexType>

clustering/infinispan/extension/src/main/resources/schema/jboss-as-infinispan_15_0.xsd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@
504504
</xs:attribute>
505505
<xs:attribute name="segmented" type="xs:boolean" default="true">
506506
<xs:annotation>
507-
<xs:documentation>If true, purges this cache store when it starts up.</xs:documentation>
507+
<xs:documentation>Indicates whether or not the cache store is segmented. The number of segments is defined by the segments attribute of the associated cache resource.</xs:documentation>
508508
</xs:annotation>
509509
</xs:attribute>
510510
</xs:complexType>

docs/src/main/asciidoc/_high-availability/infinispan/Infinispan_Subsystem.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,10 @@ purge::
374374
Indicates whether the cache store should be purged on cache start.
375375
Purge should never be enabled on a shared store.
376376
Default is true.
377+
segmented::
378+
Indicates whether or not the cache store is segmented.
379+
The number of segments is defined by the segments attribute of the associated cache resource.
380+
Default is true.
377381
shared::
378382
Indicates that the same cache store endpoint (e.g. database, data grid, etc.) is used by all members of the cluster.
379383
When using a shared cache store, cache entries are only persisted by the primary owner of a given cache entry.

0 commit comments

Comments
 (0)