couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kocol...@apache.org
Subject svn commit: r933039 - /couchdb/trunk/src/couchdb/couch_rep.erl
Date Sun, 11 Apr 2010 23:56:59 GMT
Author: kocolosk
Date: Sun Apr 11 23:56:58 2010
New Revision: 933039

URL: http://svn.apache.org/viewvc?rev=933039&view=rev
Log:
bugfix for replication keepalive.  Closes COUCHDB-730

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=933039&r1=933038&r2=933039&view=diff
==============================================================================
--- couchdb/trunk/src/couchdb/couch_rep.erl (original)
+++ couchdb/trunk/src/couchdb/couch_rep.erl Sun Apr 11 23:56:58 2010
@@ -650,8 +650,7 @@ commit_to_both(Source, Target, RequiredS
 ensure_full_commit(#http_db{} = Target) ->
     Req = Target#http_db{
         resource = "_ensure_full_commit",
-        method = post,
-        body = true
+        method = post
     },
     {ResultProps} = couch_rep_httpc:request(Req),
     true = proplists:get_value(<<"ok">>, ResultProps),
@@ -676,7 +675,6 @@ ensure_full_commit(#http_db{} = Source, 
     Req = Source#http_db{
         resource = "_ensure_full_commit",
         method = post,
-        body = true,
         qs = [{seq, RequiredSeq}]
     },
     {ResultProps} = couch_rep_httpc:request(Req),



Mime
View raw message