diff options
Diffstat (limited to 'src/fabric_group_info.erl')
-rw-r--r-- | src/fabric_group_info.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fabric_group_info.erl b/src/fabric_group_info.erl index d2b76674..a1ba92cc 100644 --- a/src/fabric_group_info.erl +++ b/src/fabric_group_info.erl @@ -10,7 +10,7 @@ go(DbName, GroupId) when is_binary(GroupId) -> go(DbName, #doc{} = DDoc) -> Group = couch_view_group:design_doc_to_view_group(#db{name=DbName}, DDoc), - Shards = partitions:all_parts(DbName), + Shards = mem3:shards(DbName), Workers = fabric_util:submit_jobs(Shards, group_info, [Group]), Acc0 = {fabric_dict:init(Workers, nil), []}, fabric_util:recv(Workers, #shard.ref, fun handle_message/3, Acc0). |