You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ch...@apache.org on 2014/08/28 19:30:34 UTC

[34/50] [abbrv] couch-replicator commit: updated refs/heads/1963-eunit-bigcouch to 3cf0b13

Expose current_through_seq in task statuses

This lets clients know how far along in the source update sequence we
have processed but not necessarily committed.


Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/commit/7ff3a52e
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/tree/7ff3a52e
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/diff/7ff3a52e

Branch: refs/heads/1963-eunit-bigcouch
Commit: 7ff3a52e9701ad1ef95be8791a9df32087a23777
Parents: 9640ccf
Author: Paul J. Davis <pa...@gmail.com>
Authored: Tue Aug 12 16:01:30 2014 -0500
Committer: Paul J. Davis <pa...@gmail.com>
Committed: Tue Aug 12 16:01:30 2014 -0500

----------------------------------------------------------------------
 src/couch_replicator.erl | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/blob/7ff3a52e/src/couch_replicator.erl
----------------------------------------------------------------------
diff --git a/src/couch_replicator.erl b/src/couch_replicator.erl
index 0c06145..6bfd3bb 100644
--- a/src/couch_replicator.erl
+++ b/src/couch_replicator.erl
@@ -912,11 +912,13 @@ get_pending_count_int(#rep_state{source = Db}=St) ->
 
 update_task(State) ->
     #rep_state{
+        current_through_seq = {_, ThroughSeq},
         highest_seq_done = {_, HighestSeq}
     } = State,
     couch_task_status:update(
         rep_stats(State) ++ [
-        {source_seq, HighestSeq}
+        {source_seq, HighestSeq},
+        {through_seq, ThroughSeq}
     ]).