couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fdman...@apache.org
Subject svn commit: r1125706 - /couchdb/trunk/src/couchdb/couch_replication_manager.erl
Date Sat, 21 May 2011 14:09:00 GMT
Author: fdmanana
Date: Sat May 21 14:09:00 2011
New Revision: 1125706

URL: http://svn.apache.org/viewvc?rev=1125706&view=rev
Log:
Replication manager: full error handling on replication start failure

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

Modified: couchdb/trunk/src/couchdb/couch_replication_manager.erl
URL: http://svn.apache.org/viewvc/couchdb/trunk/src/couchdb/couch_replication_manager.erl?rev=1125706&r1=1125705&r2=1125706&view=diff
==============================================================================
--- couchdb/trunk/src/couchdb/couch_replication_manager.erl (original)
+++ couchdb/trunk/src/couchdb/couch_replication_manager.erl Sat May 21 14:09:00 2011
@@ -367,7 +367,7 @@ start_replication(Server, #rep{id = RepI
     {ok, _} ->
         ok = gen_server:call(Server, {rep_started, RepId}, infinity);
     Error ->
-        ok = gen_server:call(Server, {rep_error, RepId, Error}, infinity)
+        replication_error(Rep, Error)
     end.
 
 



Mime
View raw message