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

Do not log errors on creating new view index

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3
    • Component/s: None
    • Labels:
      None

      Description

      1.3 may bring one more important change for users as logging errors on positive attempts to create new view index. This looks like:

      [Sun, 03 Feb 2013 22:16:23 GMT] [error] [<0.509.0>] Could not open file /var/lib/couchdb/.mailbox_design/mrview/e3d73d18920d243e87ddd8bbf54da21c.view: no such file or directory
      [Sun, 03 Feb 2013 22:31:33 GMT] [error] [<0.1437.0>] Could not open file /var/lib/couchdb/.mailbox_design/mrview/ac201fc14e4cd3e58c03679a5d6ded06.view: no such file or directory
      [Sun, 03 Feb 2013 22:35:39 GMT] [error] [<0.173.0>] Could not open file /var/lib/couchdb/.mailbox_design/mrview/782367e3d40790fcaba08e12ae1c8baa.view: no such file or directory

      While it's true that file is missed, but it will be created right after[1] (or failed one more time with more serious reason) so there is no reason to alert about since this error is self-healed.

      [1]: https://git-wip-us.apache.org/repos/asf?p=couchdb.git;a=blob;f=src/couch_mrview/src/couch_mrview_util.erl;h=ba4de2d6;hb=refs/heads/1.3.x#l515

        Attachments

        1. COUCHDB-1666.1.patch
          0.9 kB
          Alexander Shorin

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              kxepal Alexander Shorin
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: