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:17 UTC
[17/50] [abbrv] couch-replicator commit: updated
refs/heads/1963-eunit-bigcouch to 3cf0b13
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/1963-eunit-bigcouch
Commit: 353f51f5bc48948501b42e99e712b5a48f9f8fcf
Parents: 06cf699
Author: Paul J. Davis <pa...@gmail.com>
Authored: Wed Dec 11 10:10:19 2013 -0600
Committer: Robert Newson <rn...@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}
]).