From user-return-18700-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Thu Nov 3 16:11:45 2011 Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 754127DE6 for ; Thu, 3 Nov 2011 16:11:45 +0000 (UTC) Received: (qmail 14651 invoked by uid 500); 3 Nov 2011 16:11:43 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 14613 invoked by uid 500); 3 Nov 2011 16:11:43 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 14605 invoked by uid 99); 3 Nov 2011 16:11:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Nov 2011 16:11:43 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of fdmanana@gmail.com designates 209.85.210.180 as permitted sender) Received: from [209.85.210.180] (HELO mail-iy0-f180.google.com) (209.85.210.180) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Nov 2011 16:11:38 +0000 Received: by iaeh11 with SMTP id h11so2250726iae.11 for ; Thu, 03 Nov 2011 09:11:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; bh=uLekATtwRQ+CDMRoGDIVv2cKYvCmmhuFrm3hJt5DYK4=; b=DVK1us9cySRkdIOCLmQkEEjxnXMrPqJ1AcqykZ6ZwVquzUYhTA/rJui3EiN2pBnHpR dBijKN7K5+9aY0Pz1OouHm64xyqd4+c0Y0x4iz8niTxo1SwJdf+Qr+KkB44yn1FWaW3F RFKtDCT7n2MAulrAYMM3yBbN/vW97xxqy1gHU= MIME-Version: 1.0 Received: by 10.43.65.79 with SMTP id xl15mr9288722icb.6.1320336678252; Thu, 03 Nov 2011 09:11:18 -0700 (PDT) Sender: fdmanana@gmail.com Received: by 10.142.166.5 with HTTP; Thu, 3 Nov 2011 09:11:18 -0700 (PDT) In-Reply-To: <4EB2B87C.8020608@gmail.com> References: <4EB1F856.7030601@gmail.com> <4EB2B87C.8020608@gmail.com> Date: Thu, 3 Nov 2011 16:11:18 +0000 X-Google-Sender-Auth: 4WW3NQoHswHUoFiux6Tw0eusAn0 Message-ID: Subject: Re: Replication Monitoring From: Filipe David Manana To: user@couchdb.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable More recently, for 'master'/trunk and branch 1.2.x, extra information was added to /_active_tasks for replications. Example: $ curl -s http://localhost:5984/_active_tasks [ { "pid":"<0.1303.0>", "checkpointed_source_seq":17333, "continuous":false, "doc_write_failures":0, "docs_read":17833, "docs_written":17833, "missing_revisions_found":17833, "progress":3, "revisions_checked":17833, "source":"http://fdmanana.couchone.com/indexer_test/", "source_seq":551202, "started_on":1316229471, "target":"indexer_test", "type":"replication", "updated_on":1316230082 } ] regards, On Thu, Nov 3, 2011 at 3:51 PM, Chris Wilhite w= rote: > Thanks, I will look into this. > > On 11/3/11 11:20 AM, Ryan Ramage wrote: >>> >>> Using the _changes feed is ok, but I would like to be able to provide a >>> way >>> for the user to see how many documents are remaining, MB's to be >>> transferred >>> etc. =C2=A0Is there a place where this data is reported? >>> >> I have not looked at this in a while, but here is something I had >> written and that Filipe had answered the list as of Jul 14: >> >>>> One question, how can I get the progress of a one time replication? Is >>>> there>> =C2=A0something on the _active_task line that I can use to inf= orm the >>>> user how>> =C2=A0long the replication will take (percent complete) ? C= urrently I >>>> have to use>> =C2=A0an indeterminate progress bar. >>> >>> Look at the screenshot at: >>> >>> https://issues.apache.org/jira/secure/attachment/12483855/active_tasks_= times.png >>> This is the current state of subversion's trunk (1.2.0 will be cut from >>> there eventually). > --=20 Filipe David Manana, "Reasonable men adapt themselves to the world. =C2=A0Unreasonable men adapt the world to themselves. =C2=A0That's why all progress depends on unreasonable men."