couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Joseph Davis (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (COUCHDB-1265) Replication can introduce duplicates into the seq_btree.
Date Mon, 29 Aug 2011 06:53:44 GMT

     [ 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

        

Mime
View raw message