Github user ivankelly commented on the issue:

    https://github.com/apache/zookeeper/pull/227
  
    @eolivelli 
    Sorry for taking so long to respond, I was out of town.
    
    The commit message explains what the patch is doing, but not why. The 
reason I'm pushing back a lot on this, is that I think it adds indirection and 
complexity, and I don't see what the benefit is over simply binding to 0.
    
    The patch claims to abstract away the communication channel between server 
and client. But this is a broken abstraction as there are many places where the 
application expects this to be an IPv4 channel. To get around this you've 
created a static helper class, but internally this either forces a cast to 
InetSocketAddress or provides a stub, which seems hacky.
    
    How are you using zookeeper in single node mode? Is it only as a metadata 
store for bk? I'm reluctant to approve a patch that adds significant complexity 
without addressing a widely desirable usecase.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to