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 --- libglusterfs/src/glusterfs/glusterfs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libglusterfs') diff --git a/libglusterfs/src/glusterfs/glusterfs.h b/libglusterfs/src/glusterfs/glusterfs.h index 0b2d7b18efe..ea024a02a30 100644 --- a/libglusterfs/src/glusterfs/glusterfs.h +++ b/libglusterfs/src/glusterfs/glusterfs.h @@ -77,7 +77,7 @@ #define GLUSTERD_MAX_SNAP_NAME 255 #define GLUSTERFS_SOCKET_LISTEN_BACKLOG 1024 - +#define GLUSTERD_BRICK_SERVERS "cluster.brick-vol-servers" #define SLEN(str) (sizeof(str) - 1) #define ZR_MOUNTPOINT_OPT "mountpoint" -- cgit