Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-13855

remote-cache-container protocol-version allowed values contain last protocol version twice

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 21.0.0.Final
    • 20.0.0.Final, 20.0.1.Final, 21.0.0.Beta1
    • Clustering
    • None

    Description

      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.

                  "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"
      

      Attachments

        Activity

          People

            rhn-engineering-rhusar Radoslav Husar
            rhn-engineering-rhusar Radoslav Husar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: