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
the cmd "config set maxmemory 111" run the code like bebind:
freeMemoryIfNeeded may run failed , but it return OK
Reappear step:
fill some no ttl keys to redis , maxmemory-policy: volatile-lru
set maxmemory to 200000000, it return OK
we can see warning log like " WARNING: the new maxmemory value set via CONFIG SET is smaller than the current memory usage. This will result in keys eviction and/or inability to accept new write commands depending on the maxmemory-policy" , redis memory usage is not reduce
Because we not set key ttl , so freeMemoryIfNeeded will return C_ERR, i think we need return error for this case.
The text was updated successfully, but these errors were encountered:
the cmd "config set maxmemory 111" run the code like bebind:
freeMemoryIfNeeded may run failed , but it return OK
Reappear step:
The text was updated successfully, but these errors were encountered: