Bug 1193793
Summary: | [QA](6.4.z) After failback cachedCommands are never cleaned | ||
---|---|---|---|
Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Miroslav Novak <mnovak> |
Component: | HornetQ | Assignee: | Ryan Emerson <remerson> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Miroslav Novak <mnovak> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.4.0 | CC: | ataylor, bmaxwell, cdewolf, istudens, jbertram, msvehla, mtaylor, okalman, remerson, vtunka |
Target Milestone: | CR1 | ||
Target Release: | EAP 6.4.5 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-01-17 11:38:51 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: | 1235745, 1247277 |
Description
Miroslav Novak
2015-02-18 08:45:16 UTC
This is a consequence of https://issues.jboss.org/browse/HORNETQ-1047. To improve user experience, the log output has been updated to explain that this is expected behaviour. 2.3.25.x PR: https://github.com/hornetq/hornetq/pull/2030 2.4.x PR: https://github.com/hornetq/hornetq/pull/2031 Upstream PR: https://github.com/apache/activemq-artemis/pull/59 Ryan Emerson <remerson> updated the status of jira HORNETQ-1484 to Coding In Progress Ryan Emerson <remerson> updated the status of jira HORNETQ-1484 to Resolved Problem is, that this log is stacking and stacking and stacking. After few failovers it can be really long and user will be spammed with useless information. So this solution is not fix. Ondřej would an acceptable solution be for the logging level to be changed to DEBUG with the new message explaining that the repeated commands are expected? This is how the log is now handled upstream. I think, that it would be better if that "cache" which holds this command history is cleaned after failback. This is not possible because of https://issues.jboss.org/browse/HORNETQ-1047. Clearing the cache will cause a regression. And what about making this cache history as set. If you avoid duplications, problem will be fixed without regression. I don't believe avoiding duplication is possible in this case because it is necessary for the backup server to execute the cached commands in the same order that they were originally executed, so that the state of the failed live server can be reproduced. The commands stored in the cache can create/remove topics, therefore the order of execution is important. For example, if we did not respect duplicate commands then the following workflow would not be reproducible: JMSServerManager.createTopic("example" ...) JMSServerManager.removeTopicFromJNDI("example") JMSServerManager.createTopic("example" ...) // Identical topic to above Ok, in this case is acceptable to change logging level to DEBUG. Ryan Emerson <remerson> updated the status of jira HORNETQ-1484 to Reopened Ryan Emerson <remerson> updated the status of jira HORNETQ-1484 to Resolved Verified with 6.4.5.CP.CR1 Retroactively bulk-closing issues from released EAP 6.4 cumulative patches. |