couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dam...@apache.org
Subject svn commit: r755016 - /couchdb/trunk/src/couchdb/couch_rep.erl
Date Mon, 16 Mar 2009 22:04:08 GMT
Author: damien
Date: Mon Mar 16 22:04:08 2009
New Revision: 755016

URL: http://svn.apache.org/viewvc?rev=755016&view=rev
Log:
Adding the necessary done=true to the last race condition fix in the replicator. Thanks Adam.

Modified:
    couchdb/trunk/src/couchdb/couch_rep.erl

Modified: couchdb/trunk/src/couchdb/couch_rep.erl
URL: http://svn.apache.org/viewvc/couchdb/trunk/src/couchdb/couch_rep.erl?rev=755016&r1=755015&r2=755016&view=diff
==============================================================================
--- couchdb/trunk/src/couchdb/couch_rep.erl (original)
+++ couchdb/trunk/src/couchdb/couch_rep.erl Mon Mar 16 22:04:08 2009
@@ -223,7 +223,7 @@
     case State#state.listeners of
     [] ->
         % still waiting for the first listener to sen a request
-        {noreply, State#state{current_seq=LastSeq}};
+        {noreply, State#state{current_seq=LastSeq,done=true}};
     _ ->
         {stop, normal, ok, State#state{current_seq=LastSeq}}
     end.



Mime
View raw message