path: root/libglusterfs/src
diff options
authorAnuradha Talur <>2016-03-16 10:55:09 +0530
committerAtin Mukherjee <>2016-03-23 03:21:38 -0700
commitf5f43424994859f263165f0cdebedffd5f08fdcc (patch)
treeed694b560f971b01462bfe8c17fbc4af875d572b /libglusterfs/src
parent28f5829781dd7c4b16470c1dc4e748d24ace4616 (diff)
glusterd / afr : Enable auto heal when replica count increases
Backport of In replicate volumes, when a brick is added to a replicate group, heal to the new brick should be triggered. Also, the new brick should not be considered as source for healing till it is up to date. Previously, extended attributes had to be set manually on the bricks for this to happen. This patch is part 1 patch to automate this process. >Change-Id: I29958448618372bfde23bf1dac5dd23dba1ad98f >BUG: 1276203 >Signed-off-by: Anuradha Talur <> >Reviewed-on: >Reviewed-by: Atin Mukherjee <> >NetBSD-regression: NetBSD Build System <> >CentOS-regression: Gluster Build System <> >Reviewed-by: Ravishankar N <> >Smoke: Gluster Build System <> Signed-off-by: Anuradha Talur <> Conflicts: libglusterfs/src/globals.h xlators/mgmt/glusterd/src/glusterd-replace-brick.c Change-Id: Ica83592aab8edbe49e2bb9d8d4824cf5c76324b7 BUG: 1320020 Reviewed-on: Smoke: Gluster Build System <> Tested-by: Anuradha Talur <> NetBSD-regression: NetBSD Build System <> CentOS-regression: Gluster Build System <> Reviewed-by: Atin Mukherjee <>
Diffstat (limited to 'libglusterfs/src')
2 files changed, 2 insertions, 1 deletions
diff --git a/libglusterfs/src/globals.h b/libglusterfs/src/globals.h
index 9d2ca8d2241..364925d7f8f 100644
--- a/libglusterfs/src/globals.h
+++ b/libglusterfs/src/globals.h
@@ -37,7 +37,7 @@
#define GD_OP_VERSION_MIN 1 /* MIN is the fresh start op-version, mostly
should not change */
-#define GD_OP_VERSION_MAX GD_OP_VERSION_3_7_7 /* MAX VERSION is the maximum
+#define GD_OP_VERSION_MAX GD_OP_VERSION_3_7_10 /* MAX VERSION is the maximum
count in VME table, should
keep changing with
introduction of newer
diff --git a/libglusterfs/src/glusterfs.h b/libglusterfs/src/glusterfs.h
index 81caf12e62b..d1db087c3ca 100644
--- a/libglusterfs/src/glusterfs.h
+++ b/libglusterfs/src/glusterfs.h
@@ -176,6 +176,7 @@
#define GF_AFR_SBRAIN_CHOICE "replica.split-brain-choice"
#define GF_AFR_SPB_CHOICE_TIMEOUT "replica.split-brain-choice-timeout"
#define GF_AFR_SBRAIN_RESOLVE "replica.split-brain-heal-finalize"
+#define GF_AFR_ADD_BRICK "trusted.add-brick"
#define GF_AFR_REPLACE_BRICK "trusted.replace-brick"
#define GF_AFR_DIRTY "trusted.afr.dirty"