Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 88200 invoked from network); 17 Feb 2011 02:56:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Feb 2011 02:56:51 -0000 Received: (qmail 24175 invoked by uid 500); 17 Feb 2011 02:56:49 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 23885 invoked by uid 500); 17 Feb 2011 02:56:47 -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 23877 invoked by uid 99); 17 Feb 2011 02:56:47 -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 02:56:47 +0000 X-ASF-Spam-Status: No, hits=3.6 required=5.0 tests=FS_REPLICA,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.216.180] (HELO mail-qy0-f180.google.com) (209.85.216.180) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Feb 2011 02:56:40 +0000 Received: by qyk29 with SMTP id 29so2162341qyk.11 for ; Wed, 16 Feb 2011 18:56:19 -0800 (PST) MIME-Version: 1.0 Received: by 10.229.95.4 with SMTP id b4mr1663163qcn.86.1297911379462; Wed, 16 Feb 2011 18:56:19 -0800 (PST) Received: by 10.220.193.204 with HTTP; Wed, 16 Feb 2011 18:56:19 -0800 (PST) Date: Thu, 17 Feb 2011 13:56:19 +1100 Message-ID: Subject: 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 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 { "db_name": "stackpdfa_quotes", "doc_count": 32888, "doc_del_count": 16, "update_seq": 32904, "purge_seq": 0, "compact_running": false, "disk_size": 219832420, "instance_start_time": "1297910393331518", "disk_format_version": 5, "committed_update_seq": 32904 } v1.0.1 { "db_name": "stackpdfa_quotes", "doc_count": 33987, "doc_del_count": 17, "update_seq": 34117, "purge_seq": 0, "compact_running": false, "disk_size": 229212260, "instance_start_time": "1297908863487064", "disk_format_version": 5, "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 [ { "session_id": "f22fbdfc3a69b30664530f4e01e4d2aa", "start_time": "Thu, 17 Feb 2011 02:43:37 GMT", "end_time": "Thu, 17 Feb 2011 02:44:41 GMT", "start_last_seq": 19882, "end_last_seq": 34117, "recorded_seq": 34117, "missing_checked": 0, "missing_found": 13020, "docs_read": 13020, "docs_written": 13020, "doc_write_failures": 0 }, { "session_id": "30dfa60cdc2280eb5414df303629ad34", "start_time": "Thu, 17 Feb 2011 02:38:27 GMT", "end_time": "Thu, 17 Feb 2011 02:38:41 GMT", "start_last_seq": 19175, "end_last_seq": 19882, "recorded_seq": 19882, "missing_checked": 0, "missing_found": 6853, "docs_read": 2909, "docs_written": 709, "doc_write_failures": 0 }, { "session_id": "35135bb220243418e65c27f5f90b3b29", "start_time": "Thu, 17 Feb 2011 02:30:46 GMT", "end_time": "Thu, 17 Feb 2011 02:32:14 GMT", "start_last_seq": 0, "end_last_seq": 19175, "recorded_seq": 19175, "missing_checked": 0, "missing_found": 24071, "docs_read": 21375, "docs_written": 19175, "doc_write_failures": 0 } ] which according that says everything is ok, still curious why the databases don't have the same amount of documents... Thanks, Nicholas