You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Otherwise the execution of those scripts will be rejected by dragonfly. Mike (from sidekiq) also did the same thing. See the full thread here for more context dragonflydb/dragonfly#2442
The text was updated successfully, but these errors were encountered:
I would also like to know if there is any way to avoid undeclared keys. --allow-undeclared-keys flag would suck cuz of global lock and would have terrible performance on Dragonfly DB.
wonder if there is a similar way as this to achieve
@m62534 undeclared keys are for cases df is not configured with lock_on_hashtags. It's good if they include allow-undeclared-keys for scripts may access keys that exist among different shards. However, with lock_on_hashtags things can further improve. The first one is a responsibility of the library (like this one). The second is something you as an operator need to do when launching a dragonfly instance. One is not mutually exclusive to the other so as long as both are included you can get the best of the both worlds. However if the operator does not both to use lock on hashtags, then without undeclared keys there will be problems.
Hi there,
One (
delete_job_by_digest.lua
, or more) of your lua scripts are accessing keys without declaring them. May I ask you to:Otherwise the execution of those scripts will be rejected by dragonfly. Mike (from sidekiq) also did the same thing. See the full thread here for more context dragonflydb/dragonfly#2442
The text was updated successfully, but these errors were encountered: