From 312b339190b7b8f2e38cdd210bf2ee71e53b287e Mon Sep 17 00:00:00 2001 From: Kaushal M Date: Wed, 3 Sep 2014 10:50:31 +0530 Subject: glusterd: Prevent rebalance starting with old clients Glusterd will prevent rebalance from starting when clients older than glusterfs-v3.6.0 are connected to a volume. This is needed as running rebalance with old clients connected could lead to data loss in some cases. The DHT xlator on newer clients (>= 3.6.0) has been fixed to prevent the data loss issues. Change-Id: If58640236382a2fc13f73f6b43777f01713859f7 BUG: 1136201 Signed-off-by: Kaushal M Reviewed-on: http://review.gluster.org/8583 Tested-by: Gluster Build System Reviewed-by: Atin Mukherjee Reviewed-by: Krishnan Parthasarathi Tested-by: Krishnan Parthasarathi --- xlators/mgmt/glusterd/src/glusterd-utils.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'xlators/mgmt/glusterd/src/glusterd-utils.h') diff --git a/xlators/mgmt/glusterd/src/glusterd-utils.h b/xlators/mgmt/glusterd/src/glusterd-utils.h index fe89e15aaf6..887e89661f4 100644 --- a/xlators/mgmt/glusterd/src/glusterd-utils.h +++ b/xlators/mgmt/glusterd/src/glusterd-utils.h @@ -909,4 +909,7 @@ glusterd_get_default_val_for_volopt (dict_t *dict, gf_boolean_t all_opts, char *key, char *orig_key, dict_t *vol_dict, char **err_str); +int +glusterd_check_client_op_version_support (char *volname, uint32_t op_version, + char **op_errstr); #endif -- cgit