NullException
NullException

Reputation: 4510

Redis key disappears without warning

I have been using redis for quite some time and currently at version 2.3.11. We are witnessing some of the keys disappear even though, they don't have any timeout set (I checked using ttl for keys that did not disappear? Also checked pretty much every attribute set using 'info' but cant seem to get a clue? Anyone seen this?

Note: We store the same keys in 2 places (PostGres and Redis) and same application writes or removes. There is no application running.

Upvotes: 3

Views: 1886

Answers (1)

sthomps
sthomps

Reputation: 4840

Please check the maxmemory-policy. If you're using AWS Elasticache note that the default is volatile-lru: Parameters for Redis

Upvotes: 1

Related Questions