couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Randall Leeds (JIRA)" <j...@apache.org>
Subject [jira] Updated: (COUCHDB-810) Running multiple instances on one machine breaks replication
Date Thu, 24 Jun 2010 01:21:50 GMT

     [ https://issues.apache.org/jira/browse/COUCHDB-810?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Randall Leeds updated COUCHDB-810:
----------------------------------

    Attachment: 0001-versioned-replication-ids.patch

Here's my attempt at a patch. I tried to make this all future proof by incorporating an algorithm
that searches for old checkpoints using versioned clauses for the id generation function.
Maybe it's overkill, but I think I kept things pretty clean. Old format checkpoint logs are
migrated automatically.

I'd like to write up some etap tests, but I wanted to get it up for feedback.

> Running multiple instances on one machine breaks replication
> ------------------------------------------------------------
>
>                 Key: COUCHDB-810
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-810
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Replication
>    Affects Versions: 0.10.2, 0.11
>            Reporter: Randall Leeds
>         Attachments: 0001-versioned-replication-ids.patch
>
>
> Bob pointed out that the replication id does not include the port number. As a consequence,
replication checkpoints between multiple instances running on the same machine can clobber
one another. (Strangely, the port line is there but commented out.)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message