From e306698b00d2d3e736cbc97a1383bfb5d3724796 Mon Sep 17 00:00:00 2001 From: shishir gowda Date: Fri, 26 Jul 2013 11:59:12 +0530 Subject: cluster/dht: Treat migration failures due to space constraints as skipped Currently rebalance/remove-brick op's display migration failed count even for files which failed due to space issues (not enough space for file, or migration leading to cluster imbalance) These will now be counted as skipped, and rebalance/remove-brick status will display the additional counter Change-Id: I674904d380b5f8300e9ca9e6af557c3d30d6cff4 BUG: 989846 Signed-off-by: shishir gowda Reviewed-on: http://review.gluster.org/5399 Tested-by: Gluster Build System Reviewed-by: Vijay Bellur --- tests/volume.rc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/volume.rc') diff --git a/tests/volume.rc b/tests/volume.rc index b358b108..02892d71 100644 --- a/tests/volume.rc +++ b/tests/volume.rc @@ -27,11 +27,11 @@ function volume_option() } function rebalance_status_field { - $CLI volume rebalance $1 status | awk '{print $6}' | sed -n 3p + $CLI volume rebalance $1 status | awk '{print $7}' | sed -n 3p } function remove_brick_status_completed_field { - $CLI volume remove-brick $V0 $H0:$B0/r2d2_{4,5} status | awk '{print $6}' | sed -n 3p + $CLI volume remove-brick $V0 $H0:$B0/r2d2_{4,5} status | awk '{print $7}' | sed -n 3p } function get_mount_process_pid { -- cgit