diff options
author | Robert Newson <robert.newson@cloudant.com> | 2011-02-05 21:05:22 +0000 |
---|---|---|
committer | Robert Newson <robert.newson@cloudant.com> | 2011-02-05 21:05:22 +0000 |
commit | 8620ccfad05e8658959eb0e1b7c8e1f67c99173a (patch) | |
tree | 4793277e08b2e54a7274fa7bebc50b40cab26f46 /apps/couch/src | |
parent | d2a9229c4f0a750d8e4191f60227572117a53ab7 (diff) |
Revert "fix replication checkpointing."
This reverts commit d2a9229c4f0a750d8e4191f60227572117a53ab7.
Diffstat (limited to 'apps/couch/src')
-rw-r--r-- | apps/couch/src/couch_rep.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/couch/src/couch_rep.erl b/apps/couch/src/couch_rep.erl index ca1e081a..c804b49d 100644 --- a/apps/couch/src/couch_rep.erl +++ b/apps/couch/src/couch_rep.erl @@ -532,7 +532,7 @@ open_replication_log(#http_db{}=Db, RepId) -> DocId = ?LOCAL_DOC_PREFIX ++ RepId, Req = Db#http_db{resource=couch_util:url_encode(DocId)}, case couch_rep_httpc:request(Req) of - {[{<<"error">>, _}, {<<"reason">>, _} | _Rest]} -> + {[{<<"error">>, _}, {<<"reason">>, _}]} -> ?LOG_DEBUG("didn't find a replication log for ~s", [Db#http_db.url]), #doc{id=?l2b(DocId)}; Doc -> |