You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by mi...@apache.org on 2016/03/04 15:06:11 UTC
fabric commit: updated refs/heads/master to 0df200a
Repository: couchdb-fabric
Updated Branches:
refs/heads/master 472253f28 -> 0df200a3c
Avoid spamming logs with write_quorum errors
The three metrics in fabric_doc_update:force_reply/3 were
introduced to replace the write_quorum log message however the
log line was not removed. This commit removes the log message.
Close COUCHDB-2958
This closes #41
Project: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/commit/0df200a3
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/tree/0df200a3
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/diff/0df200a3
Branch: refs/heads/master
Commit: 0df200a3c4df7dd4bb3dee4c43d268d75f1e117e
Parents: 472253f
Author: Mike Wallace <mi...@apache.org>
Authored: Thu Mar 3 17:13:48 2016 +0000
Committer: Mike Wallace <mi...@apache.org>
Committed: Fri Mar 4 14:04:52 2016 +0000
----------------------------------------------------------------------
src/fabric_doc_update.erl | 1 -
1 file changed, 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb-fabric/blob/0df200a3/src/fabric_doc_update.erl
----------------------------------------------------------------------
diff --git a/src/fabric_doc_update.erl b/src/fabric_doc_update.erl
index fc54457..25bd800 100644
--- a/src/fabric_doc_update.erl
+++ b/src/fabric_doc_update.erl
@@ -126,7 +126,6 @@ force_reply(Doc, [FirstReply|_] = Replies, {Health, W, Acc}) ->
{true, Reply} ->
{Health, W, [{Doc,Reply} | Acc]};
false ->
- couch_log:warning("write quorum (~p) failed for ~s", [W, Doc#doc.id]),
case [Reply || {ok, Reply} <- Replies] of
[] ->
% check if all errors are identical, if so inherit health