diff options
author | Adam Kocoloski <adam@cloudant.com> | 2010-07-02 03:02:12 -0400 |
---|---|---|
committer | Adam Kocoloski <adam@cloudant.com> | 2010-07-02 03:02:12 -0400 |
commit | ced7cd5afff2f79b91f364f713d9851038e3b6ab (patch) | |
tree | ec813d676a632582cd376fe32bb8cbfc393153bf /src/fabric_doc_update.erl | |
parent | 2436c4fba43d02bd0a73893895b43e198715082b (diff) |
update for mem3 refactor, more robust DB create/delete
Diffstat (limited to 'src/fabric_doc_update.erl')
-rw-r--r-- | src/fabric_doc_update.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fabric_doc_update.erl b/src/fabric_doc_update.erl index 9d3cd3d1..77c182f1 100644 --- a/src/fabric_doc_update.erl +++ b/src/fabric_doc_update.erl @@ -84,7 +84,7 @@ group_docs_by_shard(DbName, Docs) -> dict:to_list(lists:foldl(fun(#doc{id=Id} = Doc, D0) -> lists:foldl(fun(Shard, D1) -> dict:append(Shard, Doc, D1) - end, D0, partitions:for_key(DbName,Id)) + end, D0, mem3:shards(DbName,Id)) end, dict:new(), Docs)). append_update_replies([], [], DocReplyDict) -> |