You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by mi...@apache.org on 2014/09/16 19:50:02 UTC

[2/2] mem3 commit: updated refs/heads/wip-cleanup-mem3_rebalance to 27cd2a4

Fix arguments in call to couch_mrview:query_view/6


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

Branch: refs/heads/wip-cleanup-mem3_rebalance
Commit: 81d4efaeccb3ebfdc395244706ebe2e9bd5f7c73
Parents: be49046
Author: Mike Wallace <mi...@apache.org>
Authored: Mon Sep 15 14:49:47 2014 +0100
Committer: Mike Wallace <mi...@apache.org>
Committed: Mon Sep 15 14:50:48 2014 +0100

----------------------------------------------------------------------
 src/mem3_rebalance.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-mem3/blob/81d4efae/src/mem3_rebalance.erl
----------------------------------------------------------------------
diff --git a/src/mem3_rebalance.erl b/src/mem3_rebalance.erl
index 1c1ed64..2111e69 100644
--- a/src/mem3_rebalance.erl
+++ b/src/mem3_rebalance.erl
@@ -462,7 +462,7 @@ shard_count_view() ->
     Fold = fun view_cb/2,
     Args = [{group_level, exact}],
     {ok, Map} = couch_mrview:query_view(
-            Db, DDocId, <<"count_by_node">>, Fold, [], Args),
+            Db, DDocId, <<"count_by_node">>, Args, Fold, []),
     erlang:put(shard_count_by_node, {os:timestamp(), Map}),
     Map.