summaryrefslogtreecommitdiff
path: root/src/fabric_doc_missing_revs.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/fabric_doc_missing_revs.erl')
-rw-r--r--src/fabric_doc_missing_revs.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fabric_doc_missing_revs.erl b/src/fabric_doc_missing_revs.erl
index 8f1f5b4c..22c11ad6 100644
--- a/src/fabric_doc_missing_revs.erl
+++ b/src/fabric_doc_missing_revs.erl
@@ -51,7 +51,7 @@ group_idrevs_by_shard(DbName, IdsRevs) ->
dict:to_list(lists:foldl(fun({Id, Revs}, D0) ->
lists:foldl(fun(Shard, D1) ->
dict:append(Shard, {Id, Revs}, D1)
- end, D0, partitions:for_key(DbName,Id))
+ end, D0, mem3:shards(DbName,Id))
end, dict:new(), IdsRevs)).
update_dict(D0, KVs) ->