couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject [18/27] couch-replicator commit: updated refs/heads/windsor-merge to 75e5ba1
Date Wed, 06 Aug 2014 18:18:08 GMT
Remove progress field from replication tasks

The progress field doesn't make much sense in the context of a
replication. The new changes_pending field should be the correct gauge
of how far behind a replication is.

BugzId: 26015


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/353f51f5
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/tree/353f51f5
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/diff/353f51f5

Branch: refs/heads/windsor-merge
Commit: 353f51f5bc48948501b42e99e712b5a48f9f8fcf
Parents: 06cf699
Author: Paul J. Davis <paul.joseph.davis@gmail.com>
Authored: Wed Dec 11 10:10:19 2013 -0600
Committer: Robert Newson <rnewson@apache.org>
Committed: Tue Jul 29 15:17:45 2014 +0100

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


http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/blob/353f51f5/src/couch_replicator.erl
----------------------------------------------------------------------
diff --git a/src/couch_replicator.erl b/src/couch_replicator.erl
index 82c1360..006770c 100644
--- a/src/couch_replicator.erl
+++ b/src/couch_replicator.erl
@@ -287,7 +287,6 @@ do_init(#rep{options = Options, id = {BaseId, Ext}, user_ctx=UserCtx}
= Rep) ->
         {doc_write_failures, 0},
         {source_seq, HighestSeq},
         {checkpointed_source_seq, CommittedSeq},
-        {progress, 0},
         {checkpoint_interval, CheckpointInterval}
     ]),
     couch_task_status:set_update_frequency(1000),
@@ -917,8 +916,7 @@ update_task(State) ->
     } = State,
     couch_task_status:update(
         rep_stats(State) ++ [
-        {source_seq, HighestSeq},
-        {progress, 0}
+        {source_seq, HighestSeq}
     ]).
 
 


Mime
View raw message