summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-volume-ops.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-volume-ops.c b/xlators/mgmt/glusterd/src/glusterd-volume-ops.c
index 76db3425dbe..aa9805092fa 100644
--- a/xlators/mgmt/glusterd/src/glusterd-volume-ops.c
+++ b/xlators/mgmt/glusterd/src/glusterd-volume-ops.c
@@ -1942,6 +1942,10 @@ glusterd_op_start_volume (dict_t *dict, char **op_errstr)
if (conf->op_version >= GD_OP_VERSION_3_6_0) {
list_for_each_entry (brickinfo, &volinfo->bricks, brick_list) {
brick_count++;
+ /* Don't check bricks that are not owned by you
+ */
+ if (uuid_compare (brickinfo->uuid, MY_UUID))
+ continue;
if (strlen(brickinfo->mount_dir) < 1) {
brick_mount_dir = NULL;
snprintf (key, sizeof(key), "brick%d.mount_dir",