couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fdman...@apache.org
Subject svn commit: r1078278 - /couchdb/trunk/src/couchdb/couch_rep_db_listener.erl
Date Sat, 05 Mar 2011 12:24:24 GMT
Author: fdmanana
Date: Sat Mar  5 12:24:24 2011
New Revision: 1078278

URL: http://svn.apache.org/viewvc?rev=1078278&view=rev
Log:
Fix case clause in the replicator database listener

This clause was never matched.

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

Modified: couchdb/trunk/src/couchdb/couch_rep_db_listener.erl
URL: http://svn.apache.org/viewvc/couchdb/trunk/src/couchdb/couch_rep_db_listener.erl?rev=1078278&r1=1078277&r2=1078278&view=diff
==============================================================================
--- couchdb/trunk/src/couchdb/couch_rep_db_listener.erl (original)
+++ couchdb/trunk/src/couchdb/couch_rep_db_listener.erl Sat Mar  5 12:24:24 2011
@@ -281,7 +281,7 @@ maybe_start_replication(#state{max_retri
         Pid = spawn_link(
             fun() -> start_replication(Server, Rep, MaxRetries) end),
         State#state{rep_start_pids = [Pid | State#state.rep_start_pids]};
-    [{BaseId, DocId}] ->
+    [{BaseId, {DocId, _}}] ->
         State;
     [{BaseId, {OtherDocId, false}}] ->
         ?LOG_INFO("The replication specified by the document `~s` was already"



Mime
View raw message