diff options
-rw-r--r-- | src/fabric_doc_open.erl | 2 | ||||
-rw-r--r-- | src/fabric_rpc.erl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/fabric_doc_open.erl b/src/fabric_doc_open.erl index 16493fb6..5c5699c3 100644 --- a/src/fabric_doc_open.erl +++ b/src/fabric_doc_open.erl @@ -8,7 +8,7 @@ go(DbName, Id, Options) -> Workers = fabric_util:submit_jobs(mem3:shards(DbName,Id), open_doc, - [Id, Options]), + [Id, [deleted|Options]]), SuppressDeletedDoc = not lists:member(deleted, Options), R = couch_util:get_value(r, Options, couch_config:get("cluster","r","2")), Acc0 = {length(Workers), list_to_integer(R), []}, diff --git a/src/fabric_rpc.erl b/src/fabric_rpc.erl index 673627da..6be7c3cc 100644 --- a/src/fabric_rpc.erl +++ b/src/fabric_rpc.erl @@ -161,7 +161,7 @@ get_update_seq(DbName) -> with_db(DbName, [], {couch_db, get_update_seq, []}). open_doc(DbName, DocId, Options) -> - with_db(DbName, Options, {couch_db, open_doc_int, [DocId, Options]}). + with_db(DbName, Options, {couch_db, open_doc, [DocId, Options]}). open_revs(DbName, Id, Revs, Options) -> with_db(DbName, Options, {couch_db, open_doc_revs, [Id, Revs, Options]}). |