[Bugs] [Bug 1369211] fix bug in protocol/client lookup callback
bugzilla at redhat.com
bugzilla at redhat.com
Wed Aug 24 11:46:58 UTC 2016
https://bugzilla.redhat.com/show_bug.cgi?id=1369211
--- Comment #4 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: http://review.gluster.org/15259 committed in release-3.7 by Pranith
Kumar Karampuri (pkarampu at redhat.com)
------
commit a97ccc632fc425156e24b7c71de97248de62b2de
Author: Anuradha Talur <atalur at redhat.com>
Date: Mon Aug 22 22:25:40 2016 +0530
protocol/client: Unserialize xdata even if lookup fails
Problem: AFR relies on xdata returned by lookup to determine
if there are any files that need healing. This info is further
used to optimize readdirp.
In case of lookups with negative return value, client xlator was
sending NULL xdata. Due to absence of xdata, AFR conservatively
assumes that there are files that need healing, which is incorrect.
Solution: Even in case of unsuccessful lookups, send the xdata
received by protocol client so that higher xlators can get the
info that they rely on.
>Change-Id: Id3a1023eb536180888eb2c0b39050000b76f7226
>BUG: 1366284
>Signed-off-by: Anuradha Talur <atalur at redhat.com>
>Reviewed-on: http://review.gluster.org/15120
>Smoke: Gluster Build System <jenkins at build.gluster.org>
>Reviewed-by: Poornima G <pgurusid at redhat.com>
>Tested-by: Poornima G <pgurusid at redhat.com>
>CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
>NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
>Reviewed-by: Ashish Pandey <aspandey at redhat.com>
>Reviewed-by: Pranith Kumar Karampuri <pkarampu at redhat.com>
>Signed-off-by: Anuradha Talur <atalur at redhat.com>
Change-Id: Ia22bcb200d599b78677e429d25877c78f7d27612
BUG: 1369211
Signed-off-by: Anuradha Talur <atalur at redhat.com>
Reviewed-on: http://review.gluster.org/15259
Reviewed-by: Pranith Kumar Karampuri <pkarampu at redhat.com>
Tested-by: Pranith Kumar Karampuri <pkarampu at redhat.com>
NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
Smoke: Gluster Build System <jenkins at build.gluster.org>
Reviewed-by: Krutika Dhananjay <kdhananj at redhat.com>
CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
--
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=dDPFJ8PcQJ&a=cc_unsubscribe
More information about the Bugs
mailing list