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_open_revs.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/fabric_doc_open_revs.erl') diff --git a/src/fabric_doc_open_revs.erl b/src/fabric_doc_open_revs.erl index 2fa91208..5bf5499f 100644 --- a/src/fabric_doc_open_revs.erl +++ b/src/fabric_doc_open_revs.erl @@ -5,7 +5,7 @@ -include("fabric.hrl"). go(DbName, Id, Revs, Options) -> - Workers = fabric_util:submit_jobs(partitions:for_key(DbName,Id), open_revs, + Workers = fabric_util:submit_jobs(mem3:shards(DbName,Id), open_revs, [Id, Revs, Options]), Acc0 = {length(Workers), couch_util:get_value(r, Options, 1), []}, case fabric_util:recv(Workers, #shard.ref, fun handle_message/3, Acc0) of -- cgit v1.2.3