Bug 838524
Summary: | Votequorum should register reload callback only once | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Jan Friesse <jfriesse> | ||||
Component: | corosync | Assignee: | Jan Friesse <jfriesse> | ||||
Status: | CLOSED ERRATA | QA Contact: | Cluster QE <mspqa-list> | ||||
Severity: | low | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 6.3 | CC: | jkortus, sdake | ||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Whiteboard: | |||||||
Fixed In Version: | corosync-1.4.1-8.el6 | Doc Type: | Bug Fix | ||||
Doc Text: |
Cause
Corosync running with votequorum enabled.
Consequence
Votequorum register reload configuration handler after each change in confdb. This will cause in the beginning slow down of corosync and resulting to OOM, ...
Fix
Register callback only at startup
Result
No slowdown, OOM, ...
|
Story Points: | --- | ||||
Clone Of: | Environment: | ||||||
Last Closed: | 2013-02-21 07:50:32 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: | |||||||
Attachments: |
|
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Cause Corosync running with votequorum enabled. Consequence Votequorum register reload configuration handler after each change in confdb. This will cause in the beginning slow down of corosync and resulting to OOM, ... Fix Register callback only at startup Result No slowdown, OOM, ... with this snip in corosync.conf: quorum { provider: corosync_votequorum } and debug set to on the following happens: * corosync-objctl -w quorum.expected_votes corosync [VOTEQ ] Reading configuration * corosync-objctl -c qa; corosync-objctl -w qa.test=1 [ nothing from VOTEQ in logs ] Behaves as expected. corosync-1.4.1-12.el6.x86_64. 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. http://rhn.redhat.com/errata/RHBA-2013-0497.html |
Created attachment 597045 [details] Proposed patch Description of problem: Votequorum should register reload callback only once and not after each change in confdb. Version-Release number of selected component (if applicable): Flatiron How reproducible: 100% Steps to Reproduce: 1. Load votequorum plugin 2. corosync-objctl -c .usr 3. In log is corosync [VOTEQ ] Reading configuration 4. corosync-objctl -c .usr 5. In log appear another "corosync [VOTEQ ] Reading configuration" this time twice 6. corosync-objctl -c .usr 7. In log appear another "corosync [VOTEQ ] Reading configuration" this time three times ... Actual results: Votequorum register reload configuration handler after each change in confdb. Expected results: Votequorum register reload configuration handler only once.