-
Notifications
You must be signed in to change notification settings - Fork 24.4k
Closed
Description
@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.
cajnoj, antihax, santiagodoldan, ashbrener, hobbsenigma and 23 more
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Done