diff options
author | Csaba Henk <csaba@gluster.com> | 2011-04-15 01:48:36 +0000 |
---|---|---|
committer | Anand Avati <avati@gluster.com> | 2011-04-15 03:58:33 -0700 |
commit | 78ca8b9fb8790f5741d5bf01aa870d7b77b9c57f (patch) | |
tree | 62eadc77243dd4db445475a6c4211acd247bdb7d /xlators/mgmt/glusterd/src/glusterd.c | |
parent | 8699c929fb9e07303a6a779e8d4713c4a837b33d (diff) |
glusterd / geo-replication: have gsync's glusterfs client use assert-no-child-down for dht volume
Signed-off-by: Csaba Henk <csaba@gluster.com>
Signed-off-by: Anand Avati <avati@gluster.com>
BUG: 2765 (geo-replication should have mercy on brick failure)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2765
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd.c')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd.c b/xlators/mgmt/glusterd/src/glusterd.c index 1e271af08..9048edc26 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; |