From f0d37adce39aecef24e53d0542b3bc46efc8b425 Mon Sep 17 00:00:00 2001 From: Robert Kowalski Date: Fri, 24 Jul 2015 20:40:25 +0200 Subject: [PATCH] don't warn on db creation do not warn on db creation if the user runs a "single-node-cluster". given the suggestions i got on IRC currently the best way is not to modify N and just let it default to three, also for a cluster-of-one. This closes COUCHDB-2594 --- src/mem3_util.erl | 1 - 1 file changed, 1 deletion(-) diff --git a/src/mem3_util.erl b/src/mem3_util.erl index ea43473..c45c30c 100644 --- a/src/mem3_util.erl +++ b/src/mem3_util.erl @@ -200,7 +200,6 @@ n_val(undefined, NodeCount) -> n_val(N, NodeCount) when is_list(N) -> n_val(list_to_integer(N), NodeCount); n_val(N, NodeCount) when is_integer(NodeCount), N > NodeCount -> - couch_log:error("Request to create N=~p DB but only ~p node(s)", [N, NodeCount]), NodeCount; n_val(N, _) when N < 1 -> 1;