Skip to content

Commit

Permalink
MB-47766 Change maximum analytics replicas to 3
Browse files Browse the repository at this point in the history
The real maximum for analytics replicas has been chosen to be 3. This
change enforces it.

Change-Id: If66c40a8bac23cf825374d99063319a80b02bd23
Reviewed-on: http://review.couchbase.org/c/ns_server/+/159434
Well-Formed: Build Bot <build@couchbase.com>
Tested-by: Steve Watanabe <steve.watanabe@couchbase.com>
Reviewed-by: <hareen.kancharla@couchbase.com>
  • Loading branch information
stevewatanabe committed Aug 16, 2021
1 parent e27a48b commit 408c800
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/menelaus_web_analytics.erl
Expand Up @@ -22,7 +22,7 @@ get_settings() ->

settings_post_validators() ->
[validator:has_params(_),
validator:integer(numReplicas, 0, 16, _),
validator:integer(numReplicas, 0, 3, _),
validator:unsupported(_)].

update_settings(Key, Value) ->
Expand Down

0 comments on commit 408c800

Please sign in to comment.