summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/afr/src/afr-self-heal-data.c
diff options
context:
space:
mode:
authorPranith Kumar K <pranithk@gluster.com>2011-08-22 12:14:22 +0530
committerVijay Bellur <vijay@gluster.com>2011-08-22 02:39:03 -0700
commitb9ae4b19da2898fa610d1bfd4b9e5829acabb121 (patch)
tree4a5605b1dc6a47b339023b0807445c22436f842a /xlators/cluster/afr/src/afr-self-heal-data.c
parentb249ff7505392ae5cac1421a6a44310800d26feb (diff)
cluster/afr: Change definition of stale child
The code is checking for priv->child_up[i], which can change while the fop is in progress. Since pending[child][id-of-transaction] alone is enough to tell if the child became stale or not, use just that. Change-Id: I494bf02cca66f4fd41526195fafce86a202c6bd1 BUG: 3455 Reviewed-on: http://review.gluster.com/293 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vijay@gluster.com>
Diffstat (limited to 'xlators/cluster/afr/src/afr-self-heal-data.c')
0 files changed, 0 insertions, 0 deletions