You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Tsz Wo Nicholas Sze (JIRA)" <ji...@apache.org> on 2018/05/03 22:33:00 UTC
[jira] [Commented] (RATIS-221) Support new operations in
Arithmetic-Example (append, remove/delete)
[ https://issues.apache.org/jira/browse/RATIS-221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16463154#comment-16463154 ]
Tsz Wo Nicholas Sze commented on RATIS-221:
-------------------------------------------
Thanks [~VinayBanakar]. These are good ideas.
Question: is it "append --name X --value Y" the same as "assign --name X --value X+Y"?
If yes, let's skip "append" since "assign" has already covered it.
> Support new operations in Arithmetic-Example (append, remove/delete)
> --------------------------------------------------------------------
>
> Key: RATIS-221
> URL: https://issues.apache.org/jira/browse/RATIS-221
> Project: Ratis
> Issue Type: New Feature
> Affects Versions: 0.1.0-alpha
> Reporter: Vinay Banakar
> Priority: Major
> Labels: features
> Fix For: 0.2.0-alpha
>
>
> New operations can be supported in Arithmetic-Example to provide a more succinct demo for the future users/developers.
> 1. Adding "append"
> *Command*: ./client.sh append --name X --value Y
> *Behavior*: This will increment the variable X by Y.
> *Alternative*: Improve "assign" to do variable increments
> ./client.sh assign --name X --value X+Y
> [This throws an Exception today]
> 2. Adding "remove/delete" (let's just say remove for now)
> *Command*: ./client.sh remove --name X
> *Behavior*: This should remove variable X from the cluster.
> *Alternative*: None
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)