[Bugs] [Bug 1451995] Log message shows error code as success even when rpc fails to connect
bugzilla at redhat.com
bugzilla at redhat.com
Wed May 31 05:57:20 UTC 2017
https://bugzilla.redhat.com/show_bug.cgi?id=1451995
--- Comment #3 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/17326 committed in release-3.10 by
Raghavendra Talur (rtalur at redhat.com)
------
commit 6df94e06cc4dcb60756ac49bd751c4cf95999703
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.
mainline:
> 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>
(cherry picked from commit 89c6bedc1c2e978f67ca29f212a357984cd8a2dd)
Change-Id: If2cc81aa1e590023ed22892dacbef7cac213e591
BUG: 1451995
Signed-off-by: Milind Changire <mchangir at redhat.com>
Reviewed-on: https://review.gluster.org/17326
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: Raghavendra Talur <rtalur 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=AqwRpKYbIg&a=cc_unsubscribe
More information about the Bugs
mailing list