couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject couch commit: updated refs/heads/windsor-merge to f5705a0
Date Tue, 26 Aug 2014 10:31:16 GMT
Repository: couchdb-couch
Updated Branches:
  refs/heads/windsor-merge 5899cd4f5 -> f5705a011


Throw a fit if the last monitor of a couch_file is not the tracker


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

Branch: refs/heads/windsor-merge
Commit: f5705a01139ed5706af203b512658376718d0ddf
Parents: 5899cd4
Author: Robert Newson <rnewson@apache.org>
Authored: Tue Aug 26 11:30:59 2014 +0100
Committer: Robert Newson <rnewson@apache.org>
Committed: Tue Aug 26 11:30:59 2014 +0100

----------------------------------------------------------------------
 src/couch_file.erl | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/f5705a01/src/couch_file.erl
----------------------------------------------------------------------
diff --git a/src/couch_file.erl b/src/couch_file.erl
index 09b8e3c..afb76a3 100644
--- a/src/couch_file.erl
+++ b/src/couch_file.erl
@@ -585,5 +585,6 @@ is_idle(#file{is_sys=false}) ->
     case process_info(self(), monitored_by) of
         {monitored_by, []} -> true;
         {monitored_by, [Tracker]} -> true;
+        {monitored_by, [_]} -> exit(tracker_monitoring_failed);
         _ -> false
     end.


Mime
View raw message