diff options
author | Ravishankar N <ravishankar@redhat.com> | 2020-01-03 09:59:29 +0530 |
---|---|---|
committer | Amar Tumballi <amarts@gmail.com> | 2020-01-07 18:15:11 +0000 |
commit | 144972bbddc4071600a1cc0380a997ada05c013d (patch) | |
tree | 4bd6f1d545c8999dc7b11467e140f9c40a799e63 /xlators/cluster | |
parent | 10b0d19513100c3f7edf00936ea5ec06fc3f80a5 (diff) |
afr: expose cluster.optimistic-change-log to CLI.
This volume option was not made avaialble to `gluster volume set` CLI.
Reported-by: epolakis(https://github.com/kinsu) in
https://github.com/gluster/glusterfs/issues/781
fixes: bz#1787554
Change-Id: I7141bdd4e53ee99e22b354edde8d023bfc0b2cd7
Signed-off-by: Ravishankar N <ravishankar@redhat.com>
Diffstat (limited to 'xlators/cluster')
-rw-r--r-- | xlators/cluster/afr/src/afr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xlators/cluster/afr/src/afr.c b/xlators/cluster/afr/src/afr.c index 13b5ca2fce9..ec7aa226821 100644 --- a/xlators/cluster/afr/src/afr.c +++ b/xlators/cluster/afr/src/afr.c @@ -241,6 +241,8 @@ reconfigure(xlator_t *this, dict_t *options) out); GF_OPTION_RECONF("eager-lock", priv->eager_lock, options, bool, out); + GF_OPTION_RECONF("optimistic-change-log", priv->optimistic_change_log, + options, bool, out); GF_OPTION_RECONF("quorum-type", qtype, options, str, out); GF_OPTION_RECONF("quorum-count", priv->quorum_count, options, uint32, out); fix_quorum_options(this, priv, qtype, options); |