dragonflydb / dragonfly

A modern replacement for Redis and Memcached
https://www.dragonflydb.io/
Other
25.96k stars 954 forks source link

remove oom_deny_ratio flag #4139

Open adiholden opened 4 days ago

adiholden commented 4 days ago
  1. flag should be deprecated use ABSL_RETIRED_FLAG
  2. server logic should still reject denyoom commands when server reaches max_memory_limit (as if we run with oom_deny_ratio=1.0)
  3. today in some test we use the oom_deny_ratio flag test eviction. we need to fix this test by tuning when eviction starts, today this is hardcoded at 95% usage, we can tune eviction with a new flag