From a320015ab1e34cefdeef9bd151197d80f87b932d Mon Sep 17 00:00:00 2001 From: Paul Joseph Davis Date: Thu, 26 Nov 2009 00:19:02 +0000 Subject: Update the open db's test to check failure. Damien made a good point that we should check that the error is generated as expected before waiting as necessary for the active db's to go idle. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@884344 13f79535-47bb-0310-9956-ffa450edef68 --- src/couchdb/couch_db_updater.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/couchdb/couch_db_updater.erl b/src/couchdb/couch_db_updater.erl index 1da07326..51a81efd 100644 --- a/src/couchdb/couch_db_updater.erl +++ b/src/couchdb/couch_db_updater.erl @@ -685,7 +685,7 @@ commit_data(#db{fd=Fd,header=OldHeader,fsync_options=FsyncOptions}=Db, Delay) -> Db2 = Db#db{waiting_delayed_commit=nil, header=Header, committed_update_seq=Db#db.update_seq}, - %ok = gen_server:call(Db2#db.main_pid, {db_updated, Db2}), + ok = gen_server:call(Db2#db.main_pid, {db_updated, Db2}), Db2 end. -- cgit v1.2.3