[ https://issues.apache.org/jira/browse/COUCHDB-665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13212587#comment-13212587
]
Jan Lehnardt commented on COUCHDB-665:
--------------------------------------
I can confirm Robert's observation.
> curl -X PUT http://::1:5984/a
{"ok":true}
> curl -X PUT http://::1:5984/b
{"ok":true}
> curl -X PUT http://::1:5984/a/a -d '{}'{"ok":true,"id":"a","rev":"1-967a00dff5e02add41819138abb3284d"}
> curl -X POST http://::1:5984/_replicate -d '{"source":"http://[::1]:5984/a","target":"http://[::1]:5984/b"}'
-Hcontent-type:application/json
{"ok":true,"session_id":"f1c4f5c26932d416cbac4b86c533756d","source_last_seq":1,"replication_id_version":2,"history":[{"session_id":"f1c4f5c26932d416cbac4b86c533756d","start_time":"Tue,
21 Feb 2012 13:43:37 GMT","end_time":"Tue, 21 Feb 2012 13:43:37 GMT","start_last_seq":0,"end_last_seq":1,"recorded_seq":1,"missing_checked":1,"missing_found":1,"docs_read":1,"docs_written":1,"doc_write_failures":0}]}
> curl -X GET http://::1:5984/b/a
{"_id":"a","_rev":"1-967a00dff5e02add41819138abb3284d"}
> Replication not possible via IPv6
> ----------------------------------
>
> Key: COUCHDB-665
> URL: https://issues.apache.org/jira/browse/COUCHDB-665
> Project: CouchDB
> Issue Type: Bug
> Components: 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
> Assignee: Filipe Manana
> Priority: Blocker
> Labels: ipv6
> Fix For: 1.1, 1.0.3, 1.2
>
> Attachments: COUCHDB-665-replication-ipv6.patch, 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
|