summaryrefslogtreecommitdiffstats
path: root/cli/src/cli-xml-output.c
diff options
context:
space:
mode:
authorRavishankar N <ravishankar@redhat.com>2014-07-03 16:47:14 +0530
committerNiels de Vos <ndevos@redhat.com>2014-07-18 09:18:14 -0700
commit09692a4c1645b0783ddaf83d264c3b148476f937 (patch)
tree32155cbef01310daa3e4b8c0b31ef23f77463b74 /cli/src/cli-xml-output.c
parentc7fbb78ec198968069821cb0769071d17df1c58b (diff)
heal: fix the way we check the presence of AFR in glfsheal
Problem: glfsh_validate_replicate_volume() used to check if AFR was the parent of all client xlators present in the graph. This need not always be true, for example, for user-serviceable-snapshots where the parent of snapd-client is snapview-client. Fix: glfsh_validate_replicate_volume() returns true if atleast one client xlator has AFR as its parent. Also, AFR need not be its immediate parent, but be present somewhere in its parent ancestry. Change-Id: Id37ac88c3202bb2fdcae56e108adc461dc8a9a37 BUG: 1115950 Signed-off-by: Ravishankar N <ravishankar@redhat.com> Reviewed-on: http://review.gluster.org/8229 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com> Reviewed-by: Niels de Vos <ndevos@redhat.com>
Diffstat (limited to 'cli/src/cli-xml-output.c')
0 files changed, 0 insertions, 0 deletions