Bug 1160232
| Summary: | [regression] broker sometimes forgets to send connection heartbeats | ||
|---|---|---|---|
| Product: | Red Hat Enterprise MRG | Reporter: | Pavel Moravec <pmoravec> |
| Component: | qpid-cpp | Assignee: | Gordon Sim <gsim> |
| Status: | CLOSED ERRATA | QA Contact: | Michal Toth <mtoth> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 3.0 | CC: | esammons, freznice, gsim, iboverma, jross, mcressma, mtoth, ngalvin |
| Target Milestone: | 3.1 | Keywords: | Regression, TestCaseProvided |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | qpid-cpp-0.30-5 | Doc Type: | Bug Fix |
| Doc Text: |
It was discovered that the timer task for periodic queue purging was added to the timer's set of tasks twice. This caused the timer's internal state to become corrupted, which in turn prevented some tasks from being triggered. The logic is now fixed to ensure the task is not included multiple times within the timer.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-04-14 13:48:42 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: | |||
|
Description
Pavel Moravec
2014-11-04 11:56:11 UTC
Quite important notice/observation for developers: I do not send a single message to the broker, so purge task should be done very soon. I just create sufficiently many connections with heartbeats. Fix available upstream: https://svn.apache.org/r1636848 Results from my repetitive testing: Upstream broker with commit r1594220 reverted (original behaviour): - problem never appeared. Tried 5times for 1000 connections for 30 minutes, no connection drop Upstream broker before Gordon's patch (i.e. before r1636848): - problem reproducible very easily, since 300 connections there is almost certainty all connections are gone in 10 minutes Upstream broker with Gordon's patch (i.e. after r1636848): - problem reproducible seldom. I.e. for 500 connections, there is approx. 50% probability the issue appears in 30 minutes. More connections (1000), higher probability Conclusions: - Gordon's patch (r1636848) fixes vast majority of bug occurrences - even with the patch, there is still some regression due to r1594220 From my (less extensive) testing, *without* the most recent fix, I see problems for 500 connections almost immediately within the first couple of iterations of checking. For 1000 connections I ran it five times and it failed on the first iteration each time. Retesting *with* the fix, each of 5 runs (1000 connections each) ran to the no-error conclusion. New patch form Chuck that should address remaining issues: https://svn.apache.org/r1642681 Verified on qpid-cpp-server-0.30-5 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHEA-2015-0805.html |