You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Jing Chen (JIRA)" <ji...@apache.org> on 2018/08/18 01:27:00 UTC

[jira] [Comment Edited] (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=16584566#comment-16584566 ] 

Jing Chen edited comment on RATIS-221 at 8/18/18 1:26 AM:
----------------------------------------------------------

I implemented the option 2 as the option 1 has been covered.

I also suggest that we could implement one more operation which allows us to list all variables.

 

[~szetszwo] could you help me trigger the build, i don't see submit patch button in my page.

 

Thanks


was (Author: jingc):
I implemented the option 2 as the option 1 has been covered.

 

I also suggest that we could implement one more operation which allows us to list all variables.

> 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
>          Components: examples
>    Affects Versions: 0.1.0-alpha
>            Reporter: Vinay Banakar
>            Assignee: Jing Chen
>            Priority: Major
>              Labels: features
>         Attachments: 0001-RATIS-221-Support-new-operations-in-Arithmetic-Examp.patch
>
>
> 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)