Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5CD9072B3 for ; Tue, 29 Nov 2011 11:40:04 +0000 (UTC) Received: (qmail 33837 invoked by uid 500); 29 Nov 2011 11:40:02 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 33719 invoked by uid 500); 29 Nov 2011 11:40:01 -0000 Mailing-List: contact dev-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 dev@couchdb.apache.org Received: (qmail 33468 invoked by uid 99); 29 Nov 2011 11:40:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Nov 2011 11:40:01 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Nov 2011 11:40:00 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 38508A5D92 for ; Tue, 29 Nov 2011 11:39:40 +0000 (UTC) Date: Tue, 29 Nov 2011 11:39:40 +0000 (UTC) From: "Filipe Manana (Commented) (JIRA)" To: dev@couchdb.apache.org Message-ID: <530517849.21625.1322566780251.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <197733647.20308.1322524780061.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (COUCHDB-1349) _replicator docs should include the additional info from _active_tasks MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/COUCHDB-1349?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D13= 159203#comment-13159203 ]=20 Filipe Manana commented on COUCHDB-1349: ---------------------------------------- Sounds good Rogut=C4=97s. All the necessary infrastructure is already there. =20 > _replicator docs should include the additional info from _active_tasks > ---------------------------------------------------------------------- > > Key: COUCHDB-1349 > URL: https://issues.apache.org/jira/browse/COUCHDB-1349 > Project: CouchDB > Issue Type: Improvement > Components: Replication > Reporter: Rogut=C4=97s Sparnuotos > Priority: Minor > > There are some nice replication stats at /_active_tasks. I think that the= se should be exposed in the corresponding /_replicator documents (well, at = least the first 3): > { > "doc_write_failures": 0, > "docs_read": 0, > "docs_written": 0, > "updated_on": 1322521694, > "started_on": 1322521569 > } > This would make it easier to map a replication doc to its status. > This would benefit Futon, which currently seems to have only a limited in= terface to /_active_tasks. > This would bring _replicator closer to the old _replicate API, which retu= rns the stats after one-time replication: > { > "ok": true, > "no_changes": true, > "session_id": "6647e26bc340b706bcf8f3c1ca709846", > "source_last_seq": 95, > "replication_id_version": 2, > "history": [ > { > "session_id": "6647e26bc340b706bcf8f3c1ca709846", > "start_time": "Mon, 28 Nov 2011 23:44:28 GMT", > "end_time": "Mon, 28 Nov 2011 23:44:33 GMT", > "start_last_seq": 0, > "end_last_seq": 95, > "recorded_seq": 95, > "missing_checked": 24, > "missing_found": 24, > "docs_read": 24, > "docs_written": 24, > "doc_write_failures": 0 > } > ] > } -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs: https://issues.apache.org/jira/secure/ContactAdministrators!default.jsp= a For more information on JIRA, see: http://www.atlassian.com/software/jira