Skip to content

Commit 11d463c

Browse files
author
Matthew Dawber
committed
MB-48789 Remove auto-failover server groups general settings option
This UI option is no longer needed as a result of https://issues.couchbase.com/browse/MB-33628. Change-Id: I181c0ff3d1262ca9eec3edb5a79b942d66fd55dc Reviewed-on: https://review.couchbase.org/c/ns_server/+/165840 Tested-by: Matthew Dawber <[email protected]> Reviewed-by: Pavel Blagodov <[email protected]>
1 parent b8a2ba9 commit 11d463c

File tree

2 files changed

+0
-20
lines changed

2 files changed

+0
-20
lines changed

priv/public/ui/app/mn_admin/mn_settings_auto_failover.html

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -103,25 +103,6 @@
103103
{{settingsAutoFailoverCtl.saveAutoFailoverSettingsErrors['failoverOnDataDiskIssues[timePeriod]']}}
104104
</div>
105105
</div>
106-
<div ng-if="adminCtl.poolDefault.compat.atLeast55 &&
107-
adminCtl.poolDefault.isEnterprise">
108-
<input
109-
type="checkbox"
110-
id="for-group-failover-enable"
111-
ng-disabled="!settingsAutoFailoverCtl.autoFailoverSettings.enabled || !rbac.cluster.settings.write"
112-
ng-model="settingsAutoFailoverCtl.autoFailoverSettings.failoverServerGroup">
113-
<label for="for-group-failover-enable" class="margin-right-zero">
114-
Enable auto-failover of server groups
115-
</label>
116-
<span
117-
class="icon-info-warning raised"
118-
uib-tooltip="DO NOT enable this unless you have set up homogenous server groups for failure scenarios
119-
(like racks/zones), have 3 or more server groups, and have the capacity to absorb the load of the failed-over group."
120-
tooltip-placement="auto right"
121-
tooltip-trigger="mouseenter">
122-
<span class="icon fa-warning"></span>
123-
</span>
124-
</div>
125106
</div>
126107

127108
<div class="margin-top2 margin-bottom-1">

priv/public/ui/app/mn_admin/mn_settings_auto_failover_controller.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ function mnSettingsAutoFailoverController($scope, $q, mnPromiseHelper, mnSetting
4848
if (mnPoolDefault.export.compat.atLeast55 &&
4949
mnPoolDefault.export.isEnterprise) {
5050
settings.failoverOnDataDiskIssues = vm.autoFailoverSettings.failoverOnDataDiskIssues;
51-
settings.failoverServerGroup = vm.autoFailoverSettings.failoverServerGroup;
5251
settings.maxCount = vm.autoFailoverSettings.maxCount;
5352
}
5453
return settings;

0 commit comments

Comments
 (0)