couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kxe...@apache.org
Subject couch-mrview commit: updated refs/heads/master to 5c10340
Date Mon, 19 Jan 2015 18:05:18 GMT
Repository: couchdb-couch-mrview
Updated Branches:
  refs/heads/master 439f322cb -> 5c10340e1


Fix typo in metric name


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/5c10340e
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/tree/5c10340e
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/diff/5c10340e

Branch: refs/heads/master
Commit: 5c10340e1ff8687f31bcef795128e404cd305e35
Parents: 439f322
Author: Alexander Shorin <kxepal@apache.org>
Authored: Mon Jan 19 20:42:34 2015 +0300
Committer: Alexander Shorin <kxepal@apache.org>
Committed: Mon Jan 19 21:04:44 2015 +0300

----------------------------------------------------------------------
 src/couch_mrview_updater.erl | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/blob/5c10340e/src/couch_mrview_updater.erl
----------------------------------------------------------------------
diff --git a/src/couch_mrview_updater.erl b/src/couch_mrview_updater.erl
index db5b5e9..d0bd0f5 100644
--- a/src/couch_mrview_updater.erl
+++ b/src/couch_mrview_updater.erl
@@ -187,8 +187,7 @@ map_docs(Parent, State0) ->
                 ({Id, Seq, Rev, deleted}, {SeqAcc, Results}) ->
                     {erlang:max(Seq, SeqAcc), [{Id, Seq, Rev, []} | Results]};
                 ({Id, Seq, Rev, Doc}, {SeqAcc, Results}) ->
-                    couch_stats:increment_counter([couchdb, mrview, map_docs],
-                                                  1),
+                    couch_stats:increment_counter([couchdb, mrview, map_doc]),
                     {ok, Res} = couch_query_servers:map_doc_raw(QServer, Doc),
                     {erlang:max(Seq, SeqAcc), [{Id, Seq, Rev, Res} | Results]}
             end,


Mime
View raw message