diff options
Diffstat (limited to 'src/fabric_view_reduce.erl')
-rw-r--r-- | src/fabric_view_reduce.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fabric_view_reduce.erl b/src/fabric_view_reduce.erl index ca137314..4f08b3ed 100644 --- a/src/fabric_view_reduce.erl +++ b/src/fabric_view_reduce.erl @@ -16,7 +16,7 @@ go(DbName, DDoc, VName, Args, Callback, Acc0) -> Workers = lists:map(fun(#shard{name=Name, node=N} = Shard) -> Ref = rexi:cast(N, {fabric_rpc, reduce_view, [Name,Group,VName,Args]}), Shard#shard{ref = Ref} - end, partitions:all_parts(DbName)), + end, mem3:shards(DbName)), BufferSize = couch_config:get("fabric", "reduce_buffer_size", "20"), #view_query_args{limit = Limit, skip = Skip} = Args, State = #collector{ |