diff options
| author | Jeff Darcy <jdarcy@redhat.com> | 2014-03-31 18:37:38 +0000 | 
|---|---|---|
| committer | Jeff Darcy <jdarcy@redhat.com> | 2014-04-22 15:20:46 +0000 | 
| commit | 46d333783a968ab39e0beade9c7a1eec8035f8b1 (patch) | |
| tree | faf1db8cb7ea7fefb0a4d8374440fa095116fef1 /xlators/mgmt/glusterd | |
| parent | acd2292f085b15c2c5c28169d11f20dca90f5ec9 (diff) | |
nsr: add quorum enforcement
Change-Id: I0241f8c1ac97c80ae438e3d9f1ac492d63da9347
Signed-off-by: Jeff Darcy <jdarcy@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd')
| -rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-volume-set.c | 6 | 
1 files changed, 6 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-volume-set.c b/xlators/mgmt/glusterd/src/glusterd-volume-set.c index 39bbe0a13..24a6ed7cd 100644 --- a/xlators/mgmt/glusterd/src/glusterd-volume-set.c +++ b/xlators/mgmt/glusterd/src/glusterd-volume-set.c @@ -889,6 +889,12 @@ struct volopt_map_entry glusterd_volopt_map[] = {            .description = "enable NSR reconciliation",            .flags       = OPT_FLAG_CLIENT_OPT | OPT_FLAG_XLATOR_OPT          }, +        { .key         = "cluster.nsr.quorum-percent", +          .voltype     = "cluster/nsr", +          .option      = "quorum-percent", +          .op_version  = 3, +          .description = "percent of rep_count-1 bricks that must be up" +        },          /* Performance xlators enable/disbable options */          { .key         = "performance.write-behind",  | 
