summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Kocoloski <kocolosk@apache.org>2009-09-28 00:44:12 +0000
committerAdam Kocoloski <kocolosk@apache.org>2009-09-28 00:44:12 +0000
commite8aae053708e610f2f9f2d77cd331f6c4fd8e2a3 (patch)
tree50451829dbb1f0ed0d43e1514b9a37aacef16339
parente605be01dd16eaa7656e89c3ef2cd978487a326a (diff)
we were skipping 1/1000 updates replicating old servers w/o _changes
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@819436 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--src/couchdb/couch_rep_changes_feed.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couchdb/couch_rep_changes_feed.erl b/src/couchdb/couch_rep_changes_feed.erl
index b3b2f6ea..0c04ff61 100644
--- a/src/couchdb/couch_rep_changes_feed.erl
+++ b/src/couchdb/couch_rep_changes_feed.erl
@@ -296,7 +296,7 @@ by_seq_loop(Server, Source, StartSeq) ->
gen_server:call(Server, {add_change, Change}, infinity),
Seq
end, 0, Rows),
- by_seq_loop(Server, Source, EndSeq+1).
+ by_seq_loop(Server, Source, EndSeq).
decode_row(<<",\n", Rest/binary>>) ->
decode_row(Rest);