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

Use proper validator for DistributedCacheResourceDefinition.Attribute#L1_LIFESPAN

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 11.0.0.Alpha1
    • 10.1.0.Final
    • Clustering
    • None

    Description

      org.jboss.as.clustering.infinispan.subsystem.DistributedCacheResourceDefinition.Attribute#L1_LIFESPAN

      Fixes the log message from

      [standalone@embedded /] /subsystem=infinispan/cache-container=web/distributed-cache=dist/:write-attribute(name=l1-lifespan,value=-1
      {
          "outcome" => "failed",
          "failure-description" => "WFLYCLCOM0001: -1.00000 is not a valid value for parameter l1-lifespan. The value must be >= 0.00000",
          "rolled-back" => true,
          "response-headers" => {"process-state" => "reload-required"}
      }
      

      to

      *[standalone@embedded /] /subsystem=infinispan/cache-container=web/distributed-cache=dist/:write-attribute(name=l1-lifespan,value=-1.0
      {
          "outcome" => "failed",
          "failure-description" => "WFLYCTL0117: -1 is an invalid value for parameter l1-lifespan. A minimum value of 0 is required",
          "rolled-back" => true
      }
      

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: