[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
Tue May 19 11:41:55 EDT 2020


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

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

[~spriadka], the message is kinda misleading but does this affect functionality? Both of those defaults are taken from Artemis so I'd report it to them.

 * [DEFAULT_CONFIRMATION_WINDOW_SIZE = 1024 * 1024|https://github.com/apache/activemq-artemis/blob/d17daf70efb0c4ba823648dbe0e82d08a063a6b9/artemis-server/src/main/java/org/apache/activemq/artemis/core/config/impl/FileConfiguration.java#L42]
* [DEFAULT_ID_CACHE_SIZE = 20000|https://github.com/apache/activemq-artemis/blob/d17daf70efb0c4ba823648dbe0e82d08a063a6b9/artemis-core-client/src/main/java/org/apache/activemq/artemis/api/config/ActiveMQDefaultConfiguration.java#L235]

> 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