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 2021/06/03 03:49:00 UTC

[jira] [Commented] (GEODE-9277) Constrain Redis FLUSHALL command to local member data only

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

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

Commit 8161df86df30d0d4f710b9d0dd4fba8abd51b0aa in geode's branch refs/heads/develop from Jens Deppe
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=8161df8 ]

GEODE-9277: Redis FLUSHALL should only remove local keys (#6481)

- This changes the `FLUSHALL` command from a distributed command to a command
  which only removes keys on the node to which the client is connected. This is
  consistent with redis cluster.
- In DUnit tests, now use `RedisClusterStartupRule.flushAll()` to remove all
  keys in the cluster.
- This commit also disables 4 session-related tests due to issues with retrying
  session commands.

> Constrain Redis FLUSHALL command to local member data only
> ----------------------------------------------------------
>
>                 Key: GEODE-9277
>                 URL: https://issues.apache.org/jira/browse/GEODE-9277
>             Project: Geode
>          Issue Type: Improvement
>          Components: redis
>            Reporter: Jens Deppe
>            Priority: Major
>              Labels: pull-request-available
>
> Currently our {{FLUSHALL}} command will iterate and delete all keys in the whole region. While this is nice and convenient for now, it is not how native redis does it and will need to be switched once the function execution layer is removed.
> It would be helpful to do this work separately.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)