I say the following statement in https://redis.io/commands/eval. But in our production, most of the keys used by the scripts generated programmatically and the scripts are dealing quite complex logic, and we don't find an issue regard to this rule in half a decade. Can anyone explain why this rule is important? thanks!
Important: to ensure the correct execution of scripts, both in standalone and clustered deployments, all names of keys that a script accesses must be explicitly provided as input key arguments. The script should only access keys whose names are given as input arguments. Scripts should never access keys with programmatically-generated names or based on the contents of data structures stored in the database.
--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redis-db+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/redis-db/6b3dd1ee-f5d1-41e8-b46f-b2bea01c67ffn%40googlegroups.com.
Disclaimer
The information contained in this communication from the sender is confidential. It is intended solely for use by the recipient and others authorized to receive it. If you are not the recipient, you are hereby notified that any disclosure, copying, distribution or taking action in relation of the contents of this information is strictly prohibited and may be unlawful.