]
Radoslav Husar updated WFLY-13855:
----------------------------------
Summary: remote-cache-container protocol-version allowed values contain last protocol
version twice (was: remote-cache-container protocol-version allowed values contains last
protocol version twice)
remote-cache-container protocol-version allowed values contain last
protocol version twice
------------------------------------------------------------------------------------------
Key: WFLY-13855
URL:
https://issues.redhat.com/browse/WFLY-13855
Project: WildFly
Issue Type: Bug
Components: Clustering
Affects Versions: 20.0.0.Final, 20.0.1.Final, 21.0.0.Beta1
Reporter: Radoslav Husar
Assignee: Radoslav Husar
Priority: Major
Fix For: 21.0.0.Final
Clearly because of {{org.infinispan.client.hotrod.ProtocolVersion#PROTOCOL_VERSION_AUTO}}
plus there is no pruning in place.
Fix is to use
{{org.jboss.as.clustering.controller.validation.EnumValidator#EnumValidator(java.lang.Class<E>,
java.util.EnumSet<E>)}} instead.
{code:json}
"protocol-version" => {
"type" => STRING,
"description" => "This property defines the protocol
version that this client should use.",
"expressions-allowed" => true,
"required" => false,
"nillable" => true,
"default" => "3.0",
"allowed" => [
"2.0",
"2.1",
"2.2",
"2.3",
"2.4",
"2.5",
"2.6",
"2.7",
"2.8",
"2.9",
"3.0",
"3.0"
],
"access-type" => "read-write",
"storage" => "configuration",
"restart-required" => "resource-services"
{code}