Skip to content

Commit

Permalink
MB-33315: Switch Capella default for ephemeral bucket failover
Browse files Browse the repository at this point in the history
Switch failover_ephemeral_no_replica default to false.

Change-Id: I6d69ea59d563b0c903fcdf94c1daf8d184b1cab2
Reviewed-on: https://review.couchbase.org/c/ns_server/+/209593
Well-Formed: Restriction Checker
Reviewed-by: Peter Searby <peter.searby@couchbase.com>
Well-Formed: Build Bot <build@couchbase.com>
Tested-by: Neelima Premsankar <neelima.premsankar@couchbase.com>
  • Loading branch information
neelima32 committed May 8, 2024
1 parent 4bce9cd commit 255f67c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion etc/provisioned_profile
Expand Up @@ -7,6 +7,5 @@
{[bucket, data_size, enabled], true},
{[disk_usage, enabled], true},
{[collections_per_quota, enabled], true}]}.
{failover_ephemeral_no_replicas, true}.
{{n1ql, sequential_scan_disabled}, true}.
{allow_hash_migration_during_auth, true}.
2 changes: 0 additions & 2 deletions src/auto_failover.erl
Expand Up @@ -928,8 +928,6 @@ validate_membase_buckets(Snapshot, ValidateFun) ->
AllowEphemeralFailover =
case ns_config:read_key_fast(failover_ephemeral_no_replicas,
undefined) of
undefined ->
config_profile:get_bool(failover_ephemeral_no_replicas);
X when is_boolean(X) -> X;
_ -> false
end,
Expand Down

0 comments on commit 255f67c

Please sign in to comment.