You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by rn...@apache.org on 2014/05/06 18:33:24 UTC
[4/4] couch-mrview commit: updated refs/heads/master to 01cff34
remove refcounting introduced by new upgrade path
Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/commit/01cff34d
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/tree/01cff34d
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/diff/01cff34d
Branch: refs/heads/master
Commit: 01cff34df1cf6aa56ffd713f28968ee778d265ae
Parents: fd52589
Author: Robert Newson <rn...@apache.org>
Authored: Tue May 6 17:12:10 2014 +0100
Committer: Robert Newson <rn...@apache.org>
Committed: Tue May 6 17:12:46 2014 +0100
----------------------------------------------------------------------
src/couch_mrview_index.erl | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/blob/01cff34d/src/couch_mrview_index.erl
----------------------------------------------------------------------
diff --git a/src/couch_mrview_index.erl b/src/couch_mrview_index.erl
index a455e0a..5baee7c 100644
--- a/src/couch_mrview_index.erl
+++ b/src/couch_mrview_index.erl
@@ -96,8 +96,7 @@ open(Db, State) ->
{ok, {OldSig, Header}} ->
% Matching view signatures.
NewSt = couch_mrview_util:init_state(Db, Fd, State, Header),
- {ok, RefCounter} = couch_ref_counter:start([Fd]),
- {ok, NewSt#mrst{refc=RefCounter}};
+ {ok, NewSt#mrst{fd_monitor=erlang:monitor(process, Fd)}};
% end of upgrade code for <= 1.2.x
{ok, {Sig, Header}} ->
% Matching view signatures.