From e3d97f57c8e25e8b44d3c96b09d69336ff6edb4b Mon Sep 17 00:00:00 2001 From: Mohit Agrawal Date: Wed, 6 Nov 2019 10:32:04 +0530 Subject: glusterd: Client Handling of Elastic Clusters Configure the list of gluster servers in the key GLUSTERD_BRICK_SERVERS at the time of GETSPEC RPC CALL and access the value in client side to update volfile serve list so that client would be able to connect next volfile server in case of current volfile server is down Updates #741 Signed-off-by: Mohit Agrawal Change-Id: I23f36ddb92982bb02ffd83937a8bd8a2c97e8104 --- tests/cluster.rc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests/cluster.rc') diff --git a/tests/cluster.rc b/tests/cluster.rc index 06f329e0ef6..2d826d07e39 100644 --- a/tests/cluster.rc +++ b/tests/cluster.rc @@ -192,3 +192,8 @@ function cluster_brick_up_status { eval \$CLI_$1 volume status $vol $host:$brick --xml | sed -ne 's/.*\([01]\)<\/status>/\1/p' } +function cluster_remove_brick_status_completed_field { + local vol=$1 + local brick_list=$2 + $CLI_1 volume remove-brick $vol $brick_list status | awk '{print $7}' | sed -n 3p +} -- cgit