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 07BBC73B1 for ; Mon, 29 Aug 2011 06:54:30 +0000 (UTC) Received: (qmail 37965 invoked by uid 500); 29 Aug 2011 06:54:24 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 36607 invoked by uid 500); 29 Aug 2011 06:54:14 -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 36489 invoked by uid 99); 29 Aug 2011 06:54:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Aug 2011 06:54:08 +0000 X-ASF-Spam-Status: No, hits=-2000.5 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; Mon, 29 Aug 2011 06:54:05 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id C20F0D5FEE for ; Mon, 29 Aug 2011 06:53:44 +0000 (UTC) Date: Mon, 29 Aug 2011 06:53:44 +0000 (UTC) From: "Paul Joseph Davis (JIRA)" To: dev@couchdb.apache.org Message-ID: <1221574001.2344.1314600824791.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1521075266.2305.1314598597788.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (COUCHDB-1265) Replication can introduce duplicates into the seq_btree. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/COUCHDB-1265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Paul Joseph Davis updated COUCHDB-1265: --------------------------------------- Attachment: replication-frenzy.py For the curious, this is the original script I wrote that triggered the bug. It requires that you setup three couchdb servers on ports 5984, 5985, and 5986. Basic idea is that it just sets up continuous replication in both directions between all pairs of nodes. Then it just hammers one node updating the same document over and over again. Fairly shortly you can start seeing duplicates in the _changes feed. > Replication can introduce duplicates into the seq_btree. > -------------------------------------------------------- > > Key: COUCHDB-1265 > URL: https://issues.apache.org/jira/browse/COUCHDB-1265 > Project: CouchDB > Issue Type: Bug > Components: Database Core > Reporter: Paul Joseph Davis > Assignee: Paul Joseph Davis > Attachments: COUCHDB-1265.patch, replication-frenzy.py > > > Full description, test, and patch to follow shortly. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira