You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Michael Stapelberg (JIRA)" <ji...@apache.org> on 2010/09/07 00:21:34 UTC

[jira] Updated: (COUCHDB-665) Replication not possible via IPv6

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

Michael Stapelberg updated COUCHDB-665:
---------------------------------------

    Attachment: couchdb-ipv6.patch

The new version of the patch does not always add the inet6 option (which only works on systems where /proc/sys/net/ipv6/bindv6only == 0) but checks which kind of hostname this is.

> Replication not  possible via IPv6
> ----------------------------------
>
>                 Key: COUCHDB-665
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-665
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Database Core, Replication
>    Affects Versions: 0.10.1
>         Environment: Linux x200 2.6.32-2 #2 SMP Wed Feb 17 01:00:03 CET 2010 x86_64 GNU/Linux
>            Reporter: Michael Stapelberg
>            Priority: Blocker
>         Attachments: couchdb-ipv6.patch, patch
>
>   Original Estimate: 0.25h
>  Remaining Estimate: 0.25h
>
> I have a host which is only reachable via IPv6. While I can connect to a CouchDB running on this host just fine, I cannot replicate my database to it.
> This is due to the inet6-option missing from the gen_tcp.connect() call. I will attach a patch which fixes the issue.
> To test it, you can use a host which only has an AAAA record in the DNS. CouchDB will immediately return 404 if you want to replicate to it unless you add the inet6 option.

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