[
https://issues.apache.org/jira/browse/ZOOKEEPER-3640?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16993338#comment-16993338
]
Damien Diederen commented on ZOOKEEPER-3640:
--------------------------------------------
Right :)
(I should just have mentioned that I had a PoC in the summary. But OTOH we now
have a PR ready—otherwise this item might have lingered in my patch queue for a
loooong time given its "priority.")
> Implement "batch mode" in cli_mt
> --------------------------------
>
> Key: ZOOKEEPER-3640
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3640
> Project: ZooKeeper
> Issue Type: Improvement
> Components: c client
> Reporter: Damien Diederen
> Priority: Minor
> Labels: pull-request-available
> Time Spent: 20m
> Remaining Estimate: 0h
>
> While testing an unrelated pull request, [~symat] noticed that the {{cmd:}}
> "batch mode" argument ({{\-c}}/{{--cmd}} with {{getopt_long}}) was ignored by
> {{cli_mt}} (as opposed to {{cli_st}}, which does the expected thing):
> https://github.com/apache/zookeeper/pull/1131#issuecomment-561631843
> It turns out that "batch mode" was never implemented for the {{THREADED}}
> case.
> https://github.com/apache/zookeeper/commit/36ed46fc726fd#diff-419c86bcc09a6b28f27161879deed603R488-R492
--
This message was sent by Atlassian Jira
(v8.3.4#803005)