[Bugs] [Bug 1426032] Log message shows error code as success even when rpc fails to connect

bugzilla at redhat.com bugzilla at redhat.com
Tue Mar 7 12:05:42 UTC 2017


https://bugzilla.redhat.com/show_bug.cgi?id=1426032



--- Comment #7 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/16730 committed in master by Jeff Darcy
(jdarcy at redhat.com) 
------
commit 89c6bedc1c2e978f67ca29f212a357984cd8a2dd
Author: Milind Changire <mchangir at redhat.com>
Date:   Sun Mar 5 21:39:20 2017 +0530

    rpc: avoid logging success on failure

    Avoid logging Success in the event of failure especially when errno has
    no meaningful value w.r.t. the failure. In this case the errno is set to
    zero when there's indeed a failure at the RPC level.

    Change-Id: If2cc81aa1e590023ed22892dacbef7cac213e591
    BUG: 1426032
    Signed-off-by: Milind Changire <mchangir at redhat.com>
    Reviewed-on: https://review.gluster.org/16730
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    Reviewed-by: N Balachandran <nbalacha at redhat.com>
    Reviewed-by: Jeff Darcy <jdarcy at redhat.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=i5bRwjVO2S&a=cc_unsubscribe


More information about the Bugs mailing list