Return-Path: X-Original-To: apmail-couchdb-commits-archive@www.apache.org Delivered-To: apmail-couchdb-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DEFA4116C9 for ; Thu, 28 Aug 2014 17:30:03 +0000 (UTC) Received: (qmail 13266 invoked by uid 500); 28 Aug 2014 17:30:02 -0000 Delivered-To: apmail-couchdb-commits-archive@couchdb.apache.org Received: (qmail 13025 invoked by uid 500); 28 Aug 2014 17:30:02 -0000 Mailing-List: contact commits-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list commits@couchdb.apache.org Received: (qmail 12373 invoked by uid 99); 28 Aug 2014 17:30:02 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Aug 2014 17:30:02 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 27047A04AFD; Thu, 28 Aug 2014 17:30:02 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: chewbranca@apache.org To: commits@couchdb.apache.org Date: Thu, 28 Aug 2014 17:30:17 -0000 Message-Id: <696316fcd510419fae2f31af7c021810@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [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 Authored: Wed Dec 11 10:10:19 2013 -0600 Committer: Robert Newson 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} ]).