From cb8ce418615ad18041ec5ae9ffff88414fc360db Mon Sep 17 00:00:00 2001 From: Adam Kocoloski Date: Thu, 15 Apr 2010 15:03:45 -0400 Subject: quickfix so we do N single-doc requests instead of R/W. BugzID 10021 --- src/cluster_ops.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cluster_ops.erl') diff --git a/src/cluster_ops.erl b/src/cluster_ops.erl index 3889956f..72bba92f 100644 --- a/src/cluster_ops.erl +++ b/src/cluster_ops.erl @@ -52,7 +52,7 @@ key_lookup(Key, {M,F,A}, Access, Const, N) -> {error, Class, Exception} end end, - {GoodReplies, Bad} = pcall(MapFun, NodeParts, Const), + {GoodReplies, Bad} = pcall(MapFun, NodeParts, N), if length(Bad) > 0 -> ?LOG_DEBUG("~nBad: ~p~n", [Bad]); true -> ok end, Good = lists:map(fun strip_ok/1, GoodReplies), final_key_lookup(Good, Bad, N, Const, ResolveFun, NotFoundFun, Access). -- cgit v1.2.3