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

Chris Nauroth updated ZOOKEEPER-1871:
-------------------------------------
    Fix Version/s:     (was: 3.5.2)
                   3.5.3

> Add an option to zkCli to wait for connection before executing commands
> -----------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-1871
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1871
>             Project: ZooKeeper
>          Issue Type: Improvement
>    Affects Versions: 3.4.5
>            Reporter: Vinayakumar B
>            Assignee: Takashi Ohnishi
>             Fix For: 3.6.0, 3.5.3
>
>         Attachments: ZOOKEEPER-1871.patch, ZOOKEEPER-1871.patch, 
> ZOOKEEPER-1871.patch, ZOOKEEPER-1871.patch
>
>
> Add an option to zkCli to wait for connection before executing any commands.
> This is helpful for the execution of inline commands.
> We are having some scripts to create/delete znodes through commandline. But 
> if getting the connection delays due to one of the node down, then command 
> will fail with connectionloss even though quorum is available.
> So I propose a commandline option (similar to -server and -timeout) 
> "-waitforconnection" to wait for the connection before executing any commands.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to