Open i18nsite opened 6 months ago
@PragmaTwice
flags
parameter in redis.register_function
no-writes
flag allow-oom
, admin
Possible implementation:
RedisRegisterFunction
parses flags
table and checks for no-writes
src/storage/scripting.ccFunctionCall
src/storage/scripting.ccif (read_only && !(flags & redis::kFunctionNoWrites)) {
return {Status::NotOK, "Can not execute a function with write flag using fcall_ro."};
}
Search before asking
https://redis.io/docs/interact/programmability/functions-intro/#function-flags
Motivation
compatibility
Solution
No response
Are you willing to submit a PR?