[
https://issues.apache.org/jira/browse/ARTEMIS-1960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16528155#comment-16528155
]
Justin Bertram edited comment on ARTEMIS-1960 at 6/29/18 7:57 PM:
------------------------------------------------------------------
The documentation here is out of date. Instead of having {{scale-down}} and
{{scale-down-group-name}} properties there is a whole {{scale-down}} section as
defined in [the
XSD|https://github.com/apache/activemq-artemis/blob/master/artemis-server/src/main/resources/schema/artemis-configuration.xsd#L2545],
e.g.:
{code:xml}
<ha-policy>
<live-only>
<scale-down>
<enabled>false</enabled>
<group-name>myGroupName</group-name>
<!-- specify discovery-group-ref or connectors here -->
</scale-down>
</live-only>
</ha-policy>
{code}
was (Author: jbertram):
The documentation here is out of date. Instead of having {{scale-down}} and
{{scale-down-group-name}} properties there is a whole {{scale-down}} section as
defined in [the
XSD|https://github.com/apache/activemq-artemis/blob/master/artemis-server/src/main/resources/schema/artemis-configuration.xsd#L2545],
e.g.:
{code:xml}
<ha-policy>
<live-only>
<scale-down>
<enabled>false</enabled>
<group-name>myGroupName</group-name>
<!-- specify discovery-group-ref or connectors here -->
</scale-down>
</live-only>
{code}
> "Clusters: Scaling Down" documentation wrong or incomplete
> ----------------------------------------------------------
>
> Key: ARTEMIS-1960
> URL: https://issues.apache.org/jira/browse/ARTEMIS-1960
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Affects Versions: 2.6.2
> Reporter: Johan Stenberg
> Priority: Minor
>
> The "Scaling Down" sections at
> [https://activemq.apache.org/artemis/docs/latest/clusters.html#scaling-down]
> talks about a boolean *scale-down* tag or attribute and a
> *scale-down-group-name* tag or attribute.
> However there is no example in the source tree where {{scale-down="true"}} or
> {{<scale-down>true</scale-down>}} is used. There is also no
> *scale-down-group-name* element in the in the configuration XSDs.
> So it is absolutely not clear how to use the documented settings or if this
> section is just a leftover.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)