Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1422335

Summary: [GSS](6.4.z) Invalid id-cache-size in the default configuration
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Tyronne Wickramarathne <tywickra>
Component: HornetQAssignee: Fedor Gavrilov <fgavrilo>
Status: CLOSED WONTFIX QA Contact: Peter Mackay <pmackay>
Severity: high Docs Contact:
Priority: high    
Version: 6.4.13CC: bmaxwell, csuconic, fgavrilo, jkurik, msochure, msvehla, pmackay, ppenicka, rstancel
Target Milestone: CR1   
Target Release: EAP 6.4.17   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-09 13:40:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1452414    

Description Tyronne Wickramarathne 2017-02-15 02:44:56 UTC
Description of problem:

The default id-cache-size has been increased from 2000 to 20000 while keeping the confirmation-window-size at 1MB in the cluster connection. Causing the following WARN message :


WARN  [org.hornetq.core.server] (Thread-16 (HornetQ-server-HornetQServerImpl::serverUUID=dd22fac6-f327-11e6-a1c9-739b3b259544-27075288)) HQ222192: The size of duplicate cache detection (<id_cache-size/>) appears to be too large. It should be no greater than the number of messages that can be squeezed into conformation buffer (<confirmation-window-size/>).


Version-Release number of selected component (if applicable):

JBoss-EAP-6.4.13, HornetQ-2.3.25.SP16 

How reproducible:


Steps to Reproduce:
1. Please start two JBoss-EAP-6.4.13 standalone-full-ha.xml server profile
2. Please observe the server log for the said WARN message

Actual results:

The server throws the following exception :

WARN  [org.hornetq.core.server] (Thread-16 (HornetQ-server-HornetQServerImpl::serverUUID=dd22fac6-f327-11e6-a1c9-739b3b259544-27075288)) HQ222192: The size of duplicate cache detection (<id_cache-size/>) appears to be too large. It should be no greater than the number of messages that can be squeezed into conformation buffer (<confirmation-window-size/>).

Expected results:

The default id-cache-size needs to be lowered as per the default confirmation-window-size attribute. 

Additional info:

Comment 2 Yong Hao Gao 2017-03-20 03:42:54 UTC
Sorry the previous link is not correct. This is the PR:

https://github.com/hornetq/hornetq/pull/2112

Comment 4 Peter Mackay 2017-08-07 14:15:25 UTC
Verification failed for EAP 6.4.17.CP.CR3 because EAP no longer uses the default configuration values provided by HornetQ. See this comment [1] for more info.

[1]: https://bugzilla.redhat.com/show_bug.cgi?id=1473690#c2

Comment 6 Petr Penicka 2017-08-14 13:08:42 UTC
Removing from CP17 payload, keeping needinfo for Brad to consider closing.