Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixes COUCHDB-844, delayed commits gets b0rked

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@983331 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
commit 1423d6f0a593e16817068d2b5dc5463a21bc0ea4 1 parent c8ec909
@kocolosk kocolosk authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/couchdb/couch_db_updater.erl
View
2  src/couchdb/couch_db_updater.erl
@@ -701,7 +701,7 @@ commit_data(Db, _) ->
if is_reference(Timer) -> erlang:cancel_timer(Timer); true -> ok end,
case db_to_header(Db, OldHeader) of
OldHeader ->
- Db;
+ Db#db{waiting_delayed_commit=nil};
Header ->
case lists:member(before_header, FsyncOptions) of
true -> ok = couch_file:sync(Filepath);
Please sign in to comment.
Something went wrong with that request. Please try again.