summaryrefslogtreecommitdiff
path: root/src/mem3/src/mem3_reshard_store.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mem3/src/mem3_reshard_store.erl')
-rw-r--r--src/mem3/src/mem3_reshard_store.erl2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mem3/src/mem3_reshard_store.erl b/src/mem3/src/mem3_reshard_store.erl
index a1e00544a..c3534b374 100644
--- a/src/mem3/src/mem3_reshard_store.erl
+++ b/src/mem3/src/mem3_reshard_store.erl
@@ -169,7 +169,6 @@ delete_doc(Db, DocId) ->
case couch_db:open_doc(Db, DocId, []) of
{ok, #doc{revs = {_, Revs}}} ->
{ok, _} = couch_db:delete_doc(Db, DocId, Revs),
- {ok, _} = couch_db:ensure_full_commit(Db),
ok;
{not_found, _} ->
ok
@@ -190,7 +189,6 @@ update_doc(Db, DocId, Body) ->
true ->
{ok, _} = couch_db:update_doc(Db, Doc, []),
couch_log:debug("~p updated doc ~p ~p", [?MODULE, DocId, Body]),
- {ok, _} = couch_db:ensure_full_commit(Db),
ok;
false ->
couch_log:debug("~p not storing state in ~p", [?MODULE, DocId]),