Mahadev konar updated ZOOKEEPER-677:

    Attachment: ZOOKEEPER-677.patch

the issue is problem with getaddrinfo implementaiton on the hudson machine. 
According to the spec getaddrinfo should work on a ipv6 host with 
ai_flags=AI_ADDRCONFIG and ai_family=AF_UNSPEC, but looks like it returns 

I put in a retry with ai_flags=0 in case of the above errors. It seems like its 
a good optimization to use AI_ADDRCONFIG for AF_UNSPEC

http://www.ops.ietf.org/lists/v6ops/v6ops.2003/msg01377.html, so a retry should 
make it work in case of such faulty implementations of getaddrinfo.

> c client doesn't allow ipv6 numeric connect string
> --------------------------------------------------
>                 Key: ZOOKEEPER-677
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-677
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: c client
>    Affects Versions: 3.2.2
>            Reporter: Patrick Hunt
>            Assignee: Mahadev konar
>            Priority: Critical
>             Fix For: 3.3.0
>         Attachments: ZOOKEEPER-677.patch, ZOOKEEPER-677.patch, 
> ZOOKEEPER-677.patch
> The c client doesn't handle ipv6 numeric addresses as they are colon : 
> delmited. After splitting the host/port on : we look for the port as the 
> second entry in the array rather than the last entry in the array.

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

Reply via email to