path: root/libglusterfs
diff options
authorRavishankar N <>2014-02-27 08:23:33 +0000
committerVijay Bellur <>2014-03-24 10:23:39 -0700
commita8b03479af1cd23baddd373a4d52f366b49c2398 (patch)
treef37dde7616d0ded30835e394365b409bd8114633 /libglusterfs
parent17454dfea9f3c4d47fcf0b5370a6155f639c8aeb (diff)
glusterd: op-version check for brickops.
cluster op-version must be atleast 4 for add/remove brick to proceed. This change is required for the new afr-changelog xattr changes that will be done for glusterFS 3.6 ( In add-brick, the check is done only when replica count is increased because only that will affect the AFR xattrs. In remove-brick, the check is unconditional failing which there will be inconsistencies in the client xlator names amongst the volfiles of different peers. Change-Id: If981da2f33899aed585ab70bb11c09a093c9d8e6 BUG: 1066778 Signed-off-by: Ravishankar N <> Reviewed-on: Reviewed-by: Kaushal M <> Reviewed-by: Pranith Kumar Karampuri <> Tested-by: Gluster Build System <> Reviewed-by: Vijay Bellur <>
Diffstat (limited to 'libglusterfs')
1 files changed, 1 insertions, 0 deletions
diff --git a/libglusterfs/src/globals.h b/libglusterfs/src/globals.h
index 16ab96268..2e520c10e 100644
--- a/libglusterfs/src/globals.h
+++ b/libglusterfs/src/globals.h
@@ -33,6 +33,7 @@
should keep changing with introduction of newer
versions */
#define GD_OP_VERSION_4 4 /* Op-Version 4 */
#include "xlator.h"