Bug 1369393 - dead loop in changelog_rpc_server_destroy
Summary: dead loop in changelog_rpc_server_destroy
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: changelog
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Venky Shankar
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-23 09:39 UTC by Ryan Ding
Modified: 2017-05-30 18:34 UTC (History)
2 users (show)

Fixed In Version: glusterfs-3.11.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-05-30 18:34:38 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Ryan Ding 2016-08-23 09:39:12 UTC
Description of problem:
the programe unregister loop never get moved forward, it's a dead loop. post the bug code here:
        while (*progs) {
                prog = *progs;
                (void) rpcsvc_program_unregister (rpc, prog);
                progs++;
        }

Comment 1 Worker Ant 2016-08-23 09:40:52 UTC
REVIEW: http://review.gluster.org/15292 (features/changelog: fix a bug in changelog_rpc_server_destroy) posted (#1) for review on master by Anonymous Coward

Comment 2 Worker Ant 2017-01-30 20:18:27 UTC
COMMIT: https://review.gluster.org/15292 committed in master by Jeff Darcy (jdarcy) 
------
commit 7f7d7a939e46b330a084d974451eee4757ba61b4
Author: Ryan Ding <ryan.ding>
Date:   Tue Aug 23 17:28:44 2016 +0800

    features/changelog: fix a bug in changelog_rpc_server_destroy
    
    the programe unregister loop never get moved forward, it's a dead loop.
    to resolve it, add progs++ in the loop.
    
    Change-Id: Ib25ded10b3ce808e2fb57b13d767833f24cf01a7
    BUG: 1369393
    Signed-off-by: Ryan Ding <ryan.ding>
    Reviewed-on: https://review.gluster.org/15292
    Smoke: Gluster Build System <jenkins.org>
    Reviewed-by: Prashanth Pai <ppai>
    Tested-by: Kotresh HR <khiremat>
    Reviewed-by: Kotresh HR <khiremat>
    CentOS-regression: Gluster Build System <jenkins.org>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    Reviewed-by: Jeff Darcy <jdarcy>

Comment 3 Shyamsundar 2017-05-30 18:34:38 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.11.0, please open a new bug report.

glusterfs-3.11.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://lists.gluster.org/pipermail/announce/2017-May/000073.html
[2] https://www.gluster.org/pipermail/gluster-users/


Note You need to log in before you can comment on or make changes to this bug.