couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Bonhage (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (COUCHDB-1796) Compaction causes spurious [error] log messages
Date Wed, 15 May 2013 00:26:13 GMT

     [ https://issues.apache.org/jira/browse/COUCHDB-1796?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Christopher Bonhage updated COUCHDB-1796:
-----------------------------------------

    Attachment: silence-compact-error.patch

The attached patch silences the 'no such file or directory' error when attempting to open
an existing compaction file.
                
> Compaction causes spurious [error] log messages
> -----------------------------------------------
>
>                 Key: COUCHDB-1796
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1796
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Database Core
>            Reporter: Christopher Bonhage
>         Attachments: silence-compact-error.patch
>
>
> In CouchDB 1.3.0, couch_db_updater:start_copy_compact/1 attempts to open an existing
database compaction file before creating a new one, but it still logs an error for not finding
the existing file:
> {noformat}
> [Tue, 14 May 2013 23:56:16 GMT] [error] [<0.22035.2>] Could not open file /usr/local/var/lib/couchdb/test.couch.compact:
no such file or directory
> {noformat}
> The initial couch_file:open should pass in the 'nologifmissing' option to silence this
unnecessary message.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message