summaryrefslogtreecommitdiff
path: root/src/fabric_doc_open.erl
diff options
context:
space:
mode:
authorAdam Kocoloski <adam@cloudant.com>2010-07-02 03:02:12 -0400
committerAdam Kocoloski <adam@cloudant.com>2010-07-02 03:02:12 -0400
commitced7cd5afff2f79b91f364f713d9851038e3b6ab (patch)
treeec813d676a632582cd376fe32bb8cbfc393153bf /src/fabric_doc_open.erl
parent2436c4fba43d02bd0a73893895b43e198715082b (diff)
update for mem3 refactor, more robust DB create/delete
Diffstat (limited to 'src/fabric_doc_open.erl')
-rw-r--r--src/fabric_doc_open.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fabric_doc_open.erl b/src/fabric_doc_open.erl
index 6f39f39e..96545c55 100644
--- a/src/fabric_doc_open.erl
+++ b/src/fabric_doc_open.erl
@@ -5,7 +5,7 @@
-include("fabric.hrl").
go(DbName, Id, Options) ->
- Workers = fabric_util:submit_jobs(partitions:for_key(DbName,Id), open_doc,
+ Workers = fabric_util:submit_jobs(mem3:shards(DbName,Id), open_doc,
[Id, Options]),
SuppressDeletedDoc = not lists:member(deleted, Options),
Acc0 = {length(Workers), couch_util:get_value(r, Options, 1), []},