You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@zookeeper.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/03/04 11:45:00 UTC

[jira] [Updated] (ZOOKEEPER-1871) Add an option to zkCli to wait for connection before executing commands

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

ASF GitHub Bot updated ZOOKEEPER-1871:
--------------------------------------
    Labels: pull-request-available  (was: )

> 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: Mukti Krishnan
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 3.8.0
>
>         Attachments: ZOOKEEPER-1871.patch, ZOOKEEPER-1871.patch, ZOOKEEPER-1871.patch, ZOOKEEPER-1871.patch
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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
(v8.3.4#803005)