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 BB0F51010D for ; Wed, 4 Sep 2013 22:24:39 +0000 (UTC) Received: (qmail 10269 invoked by uid 500); 4 Sep 2013 22:24:38 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 10234 invoked by uid 500); 4 Sep 2013 22:24:38 -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 10226 invoked by uid 99); 4 Sep 2013 22:24:38 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Sep 2013 22:24:38 +0000 Received: from localhost (HELO mail-lb0-f178.google.com) (127.0.0.1) (smtp-auth username rnewson, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Sep 2013 22:24:37 +0000 Received: by mail-lb0-f178.google.com with SMTP id z5so996671lbh.37 for ; Wed, 04 Sep 2013 15:24:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=cDGMO6RnL3/60IFUnk+/nU8hQMnaq7lyxQYxX0PB5S4=; b=SupUvPmZgb+BWR7RkHsq35f1o4CMy0xMFXpcYP0Efj1YXI2HLV8gmXwXcPtfS4a0gD uLrIn2CqRbhqHmgmL3E/uhgP+07WQ/zJeoeiLYUTuQlEHwSJouqVH33YhnRQWQfrLhfe bK659L4ZLMnxdeu8LmNaM7bPs9xeuJTZE7LnQPhIiye0DX77D1dUIxO5xShALHDkBKUt pYxxcazaRgrB684aPsEued9nJqs7843BaVT8noAFDO5oYv7XbMZUEjIC6yswSt62js+D EfnOE99e8ECjuRjx9UA54a+efPIacJ0ngqTTsRrZCiS/CQTZQcAd68D5aaU20EXGwoEY +DZQ== MIME-Version: 1.0 X-Received: by 10.152.2.4 with SMTP id 4mr4478935laq.0.1378333475888; Wed, 04 Sep 2013 15:24:35 -0700 (PDT) Received: by 10.112.211.228 with HTTP; Wed, 4 Sep 2013 15:24:35 -0700 (PDT) In-Reply-To: References: Date: Wed, 4 Sep 2013 23:24:35 +0100 Message-ID: Subject: Re: _active_tasks replication progress stuck at 98 From: Robert Newson To: "user@couchdb.apache.org" Content-Type: text/plain; charset=ISO-8859-1 continuous replication, though. Not sure it will reach 100 (and it would obviously be meaningless if it did..). B. On 4 September 2013 23:21, Daniel Carr wrote: > Hi all. > > I'm using couchDB 1.2.1 > > I have a replication that I start by posting to _replicate. When I poll > _active_tasks the progress gets stuck on 98, and will not go up. This is > despite all the documents being replicated. > > It appears that the source_seq is higher than it should be. As when I poll > the remotehost _changes feed, it gives a lower last_seq than the source_seq > in localhost's _active_tasks. > > Any ideas what's going on here? > My code relies on the progress getting to 100, should I not do this? > > Cheers, > Daniel > > > I've looked the entry in the log showing the start of the replication, but > can't find it. If it would be helpful, please tell me what to search for. > > > curl http://localhost:5984/_active_tasks: > > [{ > checkpointed_source_seq: 251 > continuous: true > doc_id: null > doc_write_failures: 0 > docs_read: 150 > docs_written: 150 > missing_revisions_found: 150 > pid: "<0.502.0>" > progress: 98 > replication_id: "afeb3a2e577aee71c767ed96090505c6+continuous" > revisions_checked: 150 > source: "http://remotehost:5984/d59423696-9e74-e111-b767-00215aac8bce-aml/" > source_seq: 255 > started_on: 1378331698 > target: "aml" > type: "replication" > updated_on: 1378331916 > }] > > curl > http://remotehost:5984/d59423696-9e74-e111-b767-00215aac8bce-aml/_changes : > > {"results":[ > ... > {"seq":251,"id":"fc47efd9448a47b990b01a412f7da8ce","changes":[{"rev":"1-65d41b82c27c6df7891a6bd875b18c1c"}]} > ], > "last_seq":251}