[jboss-jira] [JBoss JIRA] (WFLY-7813) Use proper validator for DistributedCacheResourceDefinition.Attribute#L1_LIFESPAN

Radoslav Husar (JIRA) issues at jboss.org
Fri Dec 16 11:36:00 EST 2016


Radoslav Husar created WFLY-7813:
------------------------------------

             Summary: Use proper validator for DistributedCacheResourceDefinition.Attribute#L1_LIFESPAN
                 Key: WFLY-7813
                 URL: https://issues.jboss.org/browse/WFLY-7813
             Project: WildFly
          Issue Type: Bug
          Components: Clustering
    Affects Versions: 10.1.0.Final
            Reporter: Radoslav Husar
            Assignee: Radoslav Husar
            Priority: Minor
             Fix For: 11.0.0.Alpha1


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

Fixes the log message from

{noformat}
[standalone at 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"}
}
{noformat}

to 

{noformat}
*[standalone at 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
}
{noformat}



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list