You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/03/18 17:06:00 UTC

[jira] [Commented] (GEODE-9952) Implement LSET

    [ https://issues.apache.org/jira/browse/GEODE-9952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17508953#comment-17508953 ] 

ASF subversion and git services commented on GEODE-9952:
--------------------------------------------------------

Commit 669149d535b8572f305dd91c34d28338865bcbc1 in geode's branch refs/heads/develop from Hale Bales
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=669149d ]

GEODE-9952: Support LSET Command (#7396)

Implements the LSET command as described by the Redis documentation.

LSET key index newValue
ex. LSET key 1 "newValue"

The LSET command sets the list element at the given index to the
specified new value.

If the value is negative, it wraps around.

If the index, after being adjusted for negative values, is out of
bounds, the RedisResponse will be an index out of bounds error.

If the key does not exist then it will not be created and a key does not
exist error will be returned.

The command may return:
- OK
- ERR index out of bounds
- ERR no such key

> Implement LSET
> --------------
>
>                 Key: GEODE-9952
>                 URL: https://issues.apache.org/jira/browse/GEODE-9952
>             Project: Geode
>          Issue Type: New Feature
>          Components: redis
>            Reporter: Wayne
>            Assignee: Hale Bales
>            Priority: Major
>              Labels: pull-request-available
>
> Implement the [LSET|https://redis.io/commands/lset] command.
>  
> +Acceptance Criteria+
> The command has been implemented along with appropriate unit and system tests.
>  
> The command has been tested using the redis-cli tool and verified against native redis.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)