Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-1796

Compaction causes spurious [error] log messages

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.3.1, 1.4.0
    • Database Core
    • None

    Description

      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:

      [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
      

      The initial couch_file:open should pass in the 'nologifmissing' option to silence this unnecessary message.

      Attachments

        1. silence-compact-error.patch
          1.0 kB
          Christopher Bonhage

        Activity

          People

            Unassigned Unassigned
            bonhage Christopher Bonhage
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: