Return-Path: X-Original-To: apmail-couchdb-commits-archive@www.apache.org Delivered-To: apmail-couchdb-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A50B0EE79 for ; Mon, 4 Feb 2013 10:40:18 +0000 (UTC) Received: (qmail 60800 invoked by uid 500); 4 Feb 2013 10:40:16 -0000 Delivered-To: apmail-couchdb-commits-archive@couchdb.apache.org Received: (qmail 60543 invoked by uid 500); 4 Feb 2013 10:40:16 -0000 Mailing-List: contact commits-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list commits@couchdb.apache.org Received: (qmail 60138 invoked by uid 99); 4 Feb 2013 10:39:59 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Feb 2013 10:39:59 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 7A2C4829AF2; Mon, 4 Feb 2013 10:39:59 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: jan@apache.org To: commits@couchdb.apache.org X-Mailer: ASF-Git Admin Mailer Subject: [2/2] git commit: Do not log errors on creating new view index. Message-Id: <20130204103959.7A2C4829AF2@tyr.zones.apache.org> Date: Mon, 4 Feb 2013 10:39:59 +0000 (UTC) Updated Branches: refs/heads/1.3.x 1e291e597 -> 8038d84fe refs/heads/master fa4101ba0 -> 8097f988d Do not log errors on creating new view index. While view index file may be really missed, it's ok for new views and this error will be self-healed on next couch_file:open call so there is no reason to worry user about. COUCHDB-1666 Patch by Alexander Shorin. Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/8038d84f Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/8038d84f Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/8038d84f Branch: refs/heads/1.3.x Commit: 8038d84feb54068c2e6fd466cdf2cb6cd199c0b9 Parents: 1e291e5 Author: Jan Lehnardt Authored: Mon Feb 4 11:39:26 2013 +0100 Committer: Jan Lehnardt Committed: Mon Feb 4 11:39:57 2013 +0100 ---------------------------------------------------------------------- src/couch_mrview/src/couch_mrview_util.erl | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb/blob/8038d84f/src/couch_mrview/src/couch_mrview_util.erl ---------------------------------------------------------------------- diff --git a/src/couch_mrview/src/couch_mrview_util.erl b/src/couch_mrview/src/couch_mrview_util.erl index ba4de2d..8e6e4dc 100644 --- a/src/couch_mrview/src/couch_mrview_util.erl +++ b/src/couch_mrview/src/couch_mrview_util.erl @@ -513,7 +513,7 @@ compaction_file(DbName, Sig) -> open_file(FName) -> - case couch_file:open(FName) of + case couch_file:open(FName, [nologifmissing]) of {ok, Fd} -> {ok, Fd}; {error, enoent} -> couch_file:open(FName, [create]); Error -> Error