summaryrefslogtreecommitdiffstats
path: root/glusterfs.spec.in
diff options
context:
space:
mode:
authorPranith Kumar K <pkarampu@redhat.com>2016-05-12 13:55:44 +0530
committerPranith Kumar Karampuri <pkarampu@redhat.com>2016-05-12 15:29:34 -0700
commit7dc5d73410f0e9f846c593887637001ca43bc4a0 (patch)
treedb8db1e17f8f6d09efafe2d3cdc6813926833e4c /glusterfs.spec.in
parentc769f5dbcad1492854f9fd7f1baae400d6bfeee9 (diff)
cluster/afr: Handle non-zero source in heal-info decision
Problem: Spurious entries are reported in heal info when the mount is on second/third brick of the replica pair because local-child is given preference in selecting source. The code is supposed to suggest the file needs heal if the (source < 0) (failure code path), but instead it is written as if any non-zero value is considered failure. Fix: Treat +ve source as success case BUG: 1335429 Change-Id: I1be7f9defef2ae03be7eec8d7d49bf34adeca82c Signed-off-by: Pranith Kumar K <pkarampu@redhat.com> Reviewed-on: http://review.gluster.org/14302 Reviewed-by: Krutika Dhananjay <kdhananj@redhat.com> Reviewed-by: Anuradha Talur <atalur@redhat.com> Smoke: Gluster Build System <jenkins@build.gluster.com> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> Reviewed-by: Ravishankar N <ravishankar@redhat.com> CentOS-regression: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'glusterfs.spec.in')
0 files changed, 0 insertions, 0 deletions