From 78ca8b9fb8790f5741d5bf01aa870d7b77b9c57f Mon Sep 17 00:00:00 2001 From: Csaba Henk Date: Fri, 15 Apr 2011 01:48:36 +0000 Subject: glusterd / geo-replication: have gsync's glusterfs client use assert-no-child-down for dht volume Signed-off-by: Csaba Henk Signed-off-by: Anand Avati BUG: 2765 (geo-replication should have mercy on brick failure) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2765 --- xlators/mgmt/glusterd/src/glusterd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xlators/mgmt/glusterd/src/glusterd.c b/xlators/mgmt/glusterd/src/glusterd.c index 1e271af0880..9048edc2602 100644 --- a/xlators/mgmt/glusterd/src/glusterd.c +++ b/xlators/mgmt/glusterd/src/glusterd.c @@ -268,7 +268,8 @@ configure_syncaemon (xlator_t *this, const char *workdir) /* gluster-command */ /* XXX $sbindir should be used (throughout the codebase) */ strcpy (cmd + blen, - "gluster-command "GFS_PREFIX"/sbin/glusterfs . ."); + "gluster-command '"GFS_PREFIX"/sbin/glusterfs " + "--xlator-option *-dht.assert-no-child-down=true' . ."); ret = system (cmd); if (ret) goto out; -- cgit