couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject [1/2] git commit: updated refs/heads/1.3.x to 06f1a8d
Date Wed, 15 May 2013 10:41:43 GMT
Updated Branches:
  refs/heads/1.3.x 7308432ab -> 06f1a8dca
  refs/heads/master 3a678cebf -> f6b21891a


Don't log missing '.compact' file when compacting

Signed-off-by: Robert Newson <rnewson@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/06f1a8dc
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/06f1a8dc
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/06f1a8dc

Branch: refs/heads/1.3.x
Commit: 06f1a8dca11eaaf1307b2abb974dec09b30175a7
Parents: 7308432
Author: Christopher Bonhage <queezey@me.com>
Authored: Tue May 14 15:19:52 2013 -0700
Committer: Robert Newson <rnewson@apache.org>
Committed: Wed May 15 11:40:48 2013 +0100

----------------------------------------------------------------------
 src/couchdb/couch_db_updater.erl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/06f1a8dc/src/couchdb/couch_db_updater.erl
----------------------------------------------------------------------
diff --git a/src/couchdb/couch_db_updater.erl b/src/couchdb/couch_db_updater.erl
index 0ce3048..af7578e 100644
--- a/src/couchdb/couch_db_updater.erl
+++ b/src/couchdb/couch_db_updater.erl
@@ -970,7 +970,7 @@ copy_compact(Db, NewDb0, Retry) ->
 start_copy_compact(#db{name=Name,filepath=Filepath,header=#db_header{purge_seq=PurgeSeq}}=Db)
->
     CompactFile = Filepath ++ ".compact",
     ?LOG_DEBUG("Compaction process spawned for db \"~s\"", [Name]),
-    case couch_file:open(CompactFile) of
+    case couch_file:open(CompactFile, [nologifmissing]) of
     {ok, Fd} ->
         Retry = true,
         case couch_file:read_header(Fd) of


Mime
View raw message