Skip to content

SCRIPT LIST command desirable #3846

@allanwax

Description

@allanwax

@antirez Currently if you know the SHA1 for a loaded script you can check for its existence with SCRIPT EXISTS. If you don't know the SHA1 value there is no way to get a list of scripts in the cache. It would be useful if it were possible to list the SHA1 values in the cache, and ideally the script associated with the SHA1.

The situation is that scripts get updated/versioned and loaded into Redis. Old ones need to be deleted, but the SHA1 values are not necessarily recorded. With a listing function and the ability to see the script that was loaded, old scripts can be manually deleted.

Secondarily, if the data is available, a SCRIPT GET SHA1 would be useful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions