[jboss-jira] [JBoss JIRA] (WFLY-13063) Change default values of id-cache-size or confirmation-window-size for cluster connections

Michal Petrov (Jira) issues at jboss.org
Thu Jun 4 10:16:01 EDT 2020


    [ https://issues.redhat.com/browse/WFLY-13063?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14136577#comment-14136577 ] 

Michal Petrov commented on WFLY-13063:
--------------------------------------

Looking at this more the change that introduced the size check also changed other confirmation windows sizes so this looks like an oversight on their part. I'm going to change the value.

> Change default values of id-cache-size or confirmation-window-size for cluster connections
> ------------------------------------------------------------------------------------------
>
>                 Key: WFLY-13063
>                 URL: https://issues.redhat.com/browse/WFLY-13063
>             Project: WildFly
>          Issue Type: Bug
>          Components: Clustering
>    Affects Versions: 19.0.0.Beta2
>            Reporter: Simon Priadka
>            Assignee: Justin Bertram
>            Priority: Major
>
> When establishing a new messaging cluster, default values of *id-cache-size* and *confirmation-window-size* are producing a *WARN* with following message:
> {code}
> 2020-02-04 21:35:20,228 WARN  [org.apache.activemq.artemis.core.server] (Thread-2 (ActiveMQ-client-global-threads)) AMQ224078: The size of duplicate cache detection (<id_cache-size/>) appears to be too large 20,000. It should be no greater than the number of messages that can be squeezed into confirmation window buffer (<confirmation-window-size/>) 1,048,576.
> {code}
> According to the [method|https://github.com/apache/activemq-artemis/blob/3743bc9d9f39b0731fe5da056116673b80202157/artemis-server/src/main/java/org/apache/activemq/artemis/core/config/impl/ConfigurationImpl.java#L2377-L2395] validating these values, this variable combination is "invalid"



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list