You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@zookeeper.apache.org by "maoling (Jira)" <ji...@apache.org> on 2019/10/15 02:50:00 UTC
[jira] [Commented] (ZOOKEEPER-3578) Add a new CLI: multi
[ https://issues.apache.org/jira/browse/ZOOKEEPER-3578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16951508#comment-16951508 ]
maoling commented on ZOOKEEPER-3578:
------------------------------------
Look at an example from redis: [https://redis.io/topics/transactions]
{code:java}
> MULTI
OK
> INCR foo
QUEUED
> INCR bar
QUEUED
> EXEC
1) (integer) 1
2) (integer) 1
> SET foo 1
OK
> MULTI
OK
> INCR foo
QUEUED
> DISCARD
OK
> GET foo
"1"
{code}
> Add a new CLI: multi
> --------------------
>
> Key: ZOOKEEPER-3578
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3578
> Project: ZooKeeper
> Issue Type: New Feature
> Components: scripts
> Reporter: maoling
> Assignee: maoling
> Priority: Major
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)