Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 3790 invoked from network); 17 Feb 2011 03:24:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Feb 2011 03:24:00 -0000 Received: (qmail 38181 invoked by uid 500); 17 Feb 2011 03:23:59 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 37827 invoked by uid 500); 17 Feb 2011 03:23:55 -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 37819 invoked by uid 99); 17 Feb 2011 03:23:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Feb 2011 03:23:54 +0000 X-ASF-Spam-Status: No, hits=4.3 required=5.0 tests=FS_REPLICA,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.220.180] (HELO mail-vx0-f180.google.com) (209.85.220.180) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Feb 2011 03:23:49 +0000 Received: by vxb41 with SMTP id 41so887756vxb.11 for ; Wed, 16 Feb 2011 19:23:28 -0800 (PST) MIME-Version: 1.0 Received: by 10.52.157.8 with SMTP id wi8mr4670vdb.105.1297913008392; Wed, 16 Feb 2011 19:23:28 -0800 (PST) Received: by 10.220.193.204 with HTTP; Wed, 16 Feb 2011 19:23:28 -0800 (PST) In-Reply-To: References: Date: Thu, 17 Feb 2011 14:23:28 +1100 Message-ID: Subject: Re: Replicating, should number of docs be equal in both source/destination db's? From: Nicholas Orr To: user Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable ok I did a push this time from v1.0.1 to v1.0.2 and the doc_count is the sa= me :) On Thu, Feb 17, 2011 at 1:56 PM, Nicholas Orr wrot= e: > I've replicated a database from v1.0.1 to v1.0.2 and below are the > stats I get back when accessing these databases > (http://localhost:5901/stackpdfa_quotes & > http://localhost:5902/stackpdfa_quotes) > > v1.0.2 { > =A0 "db_name": "stackpdfa_quotes", > =A0 "doc_count": 32888, > =A0 "doc_del_count": 16, > =A0 "update_seq": 32904, > =A0 "purge_seq": 0, > =A0 "compact_running": false, > =A0 "disk_size": 219832420, > =A0 "instance_start_time": "1297910393331518", > =A0 "disk_format_version": 5, > =A0 "committed_update_seq": 32904 > } > > v1.0.1 { > =A0 "db_name": "stackpdfa_quotes", > =A0 "doc_count": 33987, > =A0 "doc_del_count": 17, > =A0 "update_seq": 34117, > =A0 "purge_seq": 0, > =A0 "compact_running": false, > =A0 "disk_size": 229212260, > =A0 "instance_start_time": "1297908863487064", > =A0 "disk_format_version": 5, > =A0 "committed_update_seq": 34117 > } > > While replicating to 1.0.2 couchdb crashed twice with only > "Segmentation fault" in the log. after the 2nd seg fault i compacted > the db on the source node, v1.0.1, and then replicated again and the > replicator says all good... > > My question is what has happened to the 699 additional documents that > v1.0.1 reports to have, that v1.0.2 says don't exist?? > > Here is what the replicator says on v1.0.2 when I pull replicate > > [ > =A0 { > =A0 =A0 =A0 "session_id": "f22fbdfc3a69b30664530f4e01e4d2aa", > =A0 =A0 =A0 "start_time": "Thu, 17 Feb 2011 02:43:37 GMT", > =A0 =A0 =A0 "end_time": "Thu, 17 Feb 2011 02:44:41 GMT", > =A0 =A0 =A0 "start_last_seq": 19882, > =A0 =A0 =A0 "end_last_seq": 34117, > =A0 =A0 =A0 "recorded_seq": 34117, > =A0 =A0 =A0 "missing_checked": 0, > =A0 =A0 =A0 "missing_found": 13020, > =A0 =A0 =A0 "docs_read": 13020, > =A0 =A0 =A0 "docs_written": 13020, > =A0 =A0 =A0 "doc_write_failures": 0 > =A0 }, > =A0 { > =A0 =A0 =A0 "session_id": "30dfa60cdc2280eb5414df303629ad34", > =A0 =A0 =A0 "start_time": "Thu, 17 Feb 2011 02:38:27 GMT", > =A0 =A0 =A0 "end_time": "Thu, 17 Feb 2011 02:38:41 GMT", > =A0 =A0 =A0 "start_last_seq": 19175, > =A0 =A0 =A0 "end_last_seq": 19882, > =A0 =A0 =A0 "recorded_seq": 19882, > =A0 =A0 =A0 "missing_checked": 0, > =A0 =A0 =A0 "missing_found": 6853, > =A0 =A0 =A0 "docs_read": 2909, > =A0 =A0 =A0 "docs_written": 709, > =A0 =A0 =A0 "doc_write_failures": 0 > =A0 }, > =A0 { > =A0 =A0 =A0 "session_id": "35135bb220243418e65c27f5f90b3b29", > =A0 =A0 =A0 "start_time": "Thu, 17 Feb 2011 02:30:46 GMT", > =A0 =A0 =A0 "end_time": "Thu, 17 Feb 2011 02:32:14 GMT", > =A0 =A0 =A0 "start_last_seq": 0, > =A0 =A0 =A0 "end_last_seq": 19175, > =A0 =A0 =A0 "recorded_seq": 19175, > =A0 =A0 =A0 "missing_checked": 0, > =A0 =A0 =A0 "missing_found": 24071, > =A0 =A0 =A0 "docs_read": 21375, > =A0 =A0 =A0 "docs_written": 19175, > =A0 =A0 =A0 "doc_write_failures": 0 > =A0 } > ] > > which according that says everything is ok, still curious why the > databases don't have the same amount of documents... > > Thanks, > > Nicholas >