diff options
author | Pranith Kumar K <pranithk@gluster.com> | 2012-05-24 20:45:56 +0530 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2012-05-31 17:52:41 -0700 |
commit | 69dd0b2e824e6eeb585bed99d13680ce94a23d11 (patch) | |
tree | 6432f9469149efa480399c95d067a36b24f16fb2 /xlators/mgmt/glusterd | |
parent | 4a92900e5fc7814cca2574453654b9f9cca7f43a (diff) |
mgmt/glusterd: self-heals should be on in glustershd
BUG: 825740
Change-Id: I44829fb985f9c394b1e240e8ee7f8d026593add9
Signed-off-by: Pranith Kumar K <pranithk@gluster.com>
Reviewed-on: http://review.gluster.com/3481
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-volgen.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-volgen.c b/xlators/mgmt/glusterd/src/glusterd-volgen.c index 6acf3bbf6dd..c93584fdba5 100644 --- a/xlators/mgmt/glusterd/src/glusterd-volgen.c +++ b/xlators/mgmt/glusterd/src/glusterd-volgen.c @@ -3361,6 +3361,14 @@ glusterd_create_shd_volfile () if (ret) goto out; + ret = dict_set_str (mod_dict, "cluster.metadata-self-heal", "on"); + if (ret) + goto out; + + ret = dict_set_str (mod_dict, "cluster.entry-self-heal", "on"); + if (ret) + goto out; + glusterd_get_nodesvc_volfile ("glustershd", conf->workdir, filepath, sizeof (filepath)); ret = glusterd_create_global_volfile (build_shd_graph, filepath, |