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/25 02:56:00 UTC

[jira] [Commented] (GEODE-9946) Implement LREM Command

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

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

Commit 1f668a2fa94ab77172670b22fc8310ef8198b243 in geode's branch refs/heads/develop from Kris10
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=1f668a2 ]

GEODE-9946: Add Radish LREM command (#7431)


This implements a version of the Redis LREM command, which is used for
list data types. Associated tests were also added.

For a list stored at a key, lrem removes the first given count
occurrences equal to the element specified. A positive count starts at
the head, while a negative count starts at the tail. If the count is 0,
it removes all occurrences of the element. It returns the amount of
elements actually removed.

ApplyRemoveElementsByIndex delta was modified to remove elements in one
iteration. A new delta was added to remove elements in one iteration
starting from the tail.


> Implement LREM Command
> ----------------------
>
>                 Key: GEODE-9946
>                 URL: https://issues.apache.org/jira/browse/GEODE-9946
>             Project: Geode
>          Issue Type: New Feature
>          Components: redis
>            Reporter: Wayne
>            Assignee: Kristen
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.15.0
>
>
> Implement the [LREM|https://redis.io/commands/lrem] 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)