You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/03/03 18:18:18 UTC

[jira] [Commented] (COUCHDB-2958) Avoiding spamming logs with write_quorum errors

    [ https://issues.apache.org/jira/browse/COUCHDB-2958?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15178167#comment-15178167 ] 

ASF GitHub Bot commented on COUCHDB-2958:
-----------------------------------------

GitHub user mikewallace1979 opened a pull request:

    https://github.com/apache/couchdb-fabric/pull/41

    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

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/mikewallace1979/couchdb-fabric 2958-avoid-spamming-logs-with-write_quorum-errors

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/couchdb-fabric/pull/41.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #41
    
----
commit 0ebc31ebe1174eefc9b5559bbd2f33ac2d2e903f
Author: Mike Wallace <mi...@apache.org>
Date:   2016-03-03T17:13:48Z

    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

----


> Avoiding spamming logs with write_quorum errors
> -----------------------------------------------
>
>                 Key: COUCHDB-2958
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-2958
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Database Core
>            Reporter: Mike Wallace
>
> Logs are frequently being spammed with the following message, even in the events where quorum is failed due to expected reasons such as conflicts.
>     2016-03-03 16:53:17.110 [warning] node1@127.0.0.1 <0.3961.0> write quorum (2) failed for doc
> Before the code was merged from the BigCouch fork this was fixed by replacing the log message with metrics however during the merge the metrics were brought in and the log message was not removed [1] [2].
> [1] https://github.com/apache/couchdb-fabric/commit/c3b2860ca686db414536a0f0d2502f2b9091b443#diff-c73c129cb8b0552664c0ede89a517ba4R123
> [2] https://github.com/apache/couchdb-fabric/commit/44278007095ce86a248237c664304cadc8baeeef#diff-c73c129cb8b0552664c0ede89a517ba4R132



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)