From ced7cd5afff2f79b91f364f713d9851038e3b6ab Mon Sep 17 00:00:00 2001 From: Adam Kocoloski Date: Fri, 2 Jul 2010 03:02:12 -0400 Subject: update for mem3 refactor, more robust DB create/delete --- src/fabric_doc_missing_revs.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/fabric_doc_missing_revs.erl') 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) -> -- cgit v1.2.3