J
J
John2017-05-01 13:19:10
Django
John, 2017-05-01 13:19:10

Why does redis clean up when a snapshot occurs?

jung project. connected django-redis-cache
There is a container and three services: nginx, project, redis.
the project connects to redis and everything works fine until redis does the persistence. After saving, the data is cleared and again everything works as expected, but without the previous data. I did volume on the .rdb file, to no avail.
Is there a vm over commit memory warning in the logs, maybe because of it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
@
@mgyk, 2017-05-01
_

Maybe Django puts TTL on the keys and they are automatically deleted?
I recommend making redis-cli monitor . See what's running between Django and radish

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question