diff options
author | Sunil Kumar Acharya <sheggodu@redhat.com> | 2018-12-27 19:18:35 +0530 |
---|---|---|
committer | Ravishankar N <ravishankar@redhat.com> | 2019-01-10 11:10:27 +0000 |
commit | f091c5570efd5c754c40d40336bad8183a3e16e0 (patch) | |
tree | 1db2f54d834652347ac5949006d889e85125f9a9 /xlators/cluster | |
parent | d1231f00dc176bb9f4583b0a69b81f7e16a74eb5 (diff) |
cluster/afr: Disable client side heals in AFR by default.
With this changeset, default value for the AFR client side
heal volume option is set to "off"
fixes: bz#1663102
Change-Id: Ie4016932339c4896487e3e7cb5caca68739b7ba2
Signed-off-by: Sunil Kumar Acharya <sheggodu@redhat.com>
Diffstat (limited to 'xlators/cluster')
-rw-r--r-- | xlators/cluster/afr/src/afr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xlators/cluster/afr/src/afr.c b/xlators/cluster/afr/src/afr.c index ce04d5efbfe..33258a048a4 100644 --- a/xlators/cluster/afr/src/afr.c +++ b/xlators/cluster/afr/src/afr.c @@ -833,7 +833,7 @@ struct volume_options options[] = { .type = GF_OPTION_TYPE_STR, .value = {"1", "on", "yes", "true", "enable", "0", "off", "no", "false", "disable", "open"}, - .default_value = "on", + .default_value = "off", .op_version = {1}, .flags = OPT_FLAG_CLIENT_OPT | OPT_FLAG_SETTABLE | OPT_FLAG_DOC, .tags = {"replicate"}, @@ -870,7 +870,7 @@ struct volume_options options[] = { "process would be applied simultaneously."}, {.key = {"metadata-self-heal"}, .type = GF_OPTION_TYPE_BOOL, - .default_value = "on", + .default_value = "off", .op_version = {1}, .flags = OPT_FLAG_CLIENT_OPT | OPT_FLAG_SETTABLE | OPT_FLAG_DOC, .tags = {"replicate"}, @@ -880,7 +880,7 @@ struct volume_options options[] = { "the file/directory."}, {.key = {"entry-self-heal"}, .type = GF_OPTION_TYPE_BOOL, - .default_value = "on", + .default_value = "off", .op_version = {1}, .flags = OPT_FLAG_CLIENT_OPT | OPT_FLAG_SETTABLE | OPT_FLAG_DOC, .tags = {"replicate"}, |