[Bugs] [Bug 1428085] New: Add option to toggle x-halo fail-over

bugzilla at redhat.com bugzilla at redhat.com
Wed Mar 1 19:06:32 UTC 2017


https://bugzilla.redhat.com/show_bug.cgi?id=1428085

            Bug ID: 1428085
           Summary: Add option to toggle x-halo fail-over
           Product: GlusterFS
           Version: mainline
         Component: core
          Assignee: bugs at gluster.org
          Reporter: vbellur at redhat.com
                CC: bugs at gluster.org



Add option to toggle x-halo fail-over

Summary:
- Adds "halo-failover-enabled" option to enable/disable failing over to a brick
outside of the defined halo to satisfy min-replicas
- There are some use-cases where failing over to a brick which is out of region
will be undesirable.  I such cases we will more than likely opt to have more
replicas within the region to tolerate the loss of a single replica in that
region without losing quorum.
- Fixed quorum accounting problem as well, now correctly goes RO in case where
we lose a brick and aren't able to swap one in for some reason (fail-over not
enabled or otherwise)

Test Plan:
- run prove -v tests/basic/halo.t
- run prove -v tests/basic/halo-disable.t
- run prove -v tests/basic/halo-failover-enabled.t
- run prove -v tests/basic/halo-failover-disabled.t

Reviewers: dph, cjh, jackl, mmckeen

Reviewed By: mmckeen

Conflicts:
    xlators/cluster/afr/src/afr.h
    xlators/mount/fuse/utils/mount.glusterfs.in

Change-Id: Ia3ebf83f34b53118ca4491a3c4b66a178cc9795e
Signed-off-by: Kevin Vigor <kvigor at fb.com>
Reviewed-on: http://review.gluster.org/16275
CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
Reviewed-by: Shreyas Siravara <sshreyas at fb.com>
Smoke: Gluster Build System <jenkins at build.gluster.org>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list