Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redis keeps being set to save RDB snapshots #107

Open
jared-mackey opened this issue Jan 23, 2017 · 0 comments
Open

Redis keeps being set to save RDB snapshots #107

jared-mackey opened this issue Jan 23, 2017 · 0 comments

Comments

@jared-mackey
Copy link

jared-mackey commented Jan 23, 2017

Somehow my redis keeps getting set to save RDB snapshots. This is not something that I am trying to setup. I am using the docker image for redis and it by default doesn't come with this. I notice this happens after I have restarted my app a few times. It gets fixed by me restarting the redis container. Not sure why this keeps getting set. I just recently switched to this driver as my underlying caching client so I am not sure if it is an issue in the client that keeps setting this or not.

I am using my wrapper for Django and pooled connections with the Hiredis protocol and a JSON Encoder.

File "/utils/caching.py" in decorated
  49.                 await cache.set(self.key, results, self.cache_timeout)

File "/usr/local/lib/python3.6/site-packages/django_asyncio_redis/cache.py" in set
  79.         resp = await (await self.client).set(key, value, expire=expire, **kwargs)

File "/usr/local/lib/python3.6/site-packages/asyncio_redis/protocol.py" in wrapper
  676.                 result = yield from method(protocol_self, _NoTransaction, *a, **kw)

File "/usr/local/lib/python3.6/site-packages/asyncio_redis/protocol.py" in _query
  1135.         result = yield from self._get_answer(transaction, answer_f, _bypass=_bypass, call=call)

File "/usr/local/lib/python3.6/site-packages/asyncio_redis/protocol.py" in _get_answer
  1062.         result = yield from answer_f

Exception Type: ErrorReply
Exception Value: MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant