From 87f45e73df3e37fbb631bcb14871c621ee77489b Mon Sep 17 00:00:00 2001 From: "Damien F. Katz" Date: Fri, 9 Jan 2009 22:20:48 +0000 Subject: Added support so clients can detect if a server has potentially lost commits after multiple updates, like during bulk imports and so the replicator can detect lost commits on remote replications. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@733174 13f79535-47bb-0310-9956-ffa450edef68 --- src/couchdb/couch_view_group.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/couchdb/couch_view_group.erl') diff --git a/src/couchdb/couch_view_group.erl b/src/couchdb/couch_view_group.erl index 45e92dce..68c6c5cb 100644 --- a/src/couchdb/couch_view_group.erl +++ b/src/couchdb/couch_view_group.erl @@ -149,7 +149,7 @@ handle_info(delayed_commit, #group_state{db_name=DbName,group=Group}=State) -> {noreply, State#group_state{waiting_commit=false}}; true -> % We can't commit the header because the database seq that's fully - % committed to disk is still behind us. It we committed now and the + % committed to disk is still behind us. If we committed now and the % database lost those changes our view could be forever out of sync % with the database. But a crash before we commit these changes, no big % deal, we only lose incremental changes since last committal. -- cgit v1.2.3