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

Persistency? #262

Open
sanarena opened this issue Jan 26, 2021 · 2 comments
Open

Persistency? #262

sanarena opened this issue Jan 26, 2021 · 2 comments

Comments

@sanarena
Copy link

Hi
Do you have plan to add persistency data to your implementation? (or already implemented?)
If I turn off all nodes and run them again, will there be a redis data loss?

@doyoubi
Copy link
Owner

doyoubi commented Jan 31, 2021

Undermoon itself does not control the persistency. Redis persistence is only configured in your Redis instances. See redis docs.

And our k8s operator also does not specify this config. It depends on the Redis image, which is enabled by default. You can check this by sending CONFIG GET save to redis.

@doyoubi
Copy link
Owner

doyoubi commented Jan 31, 2021

Also, Undermoon supports one replica for each master, so even if the persistence is disabled, in most cases, we shouldn't lose all the data.

But from a system design perspective, I think we should only use Redis to store the data that can be recovered from other data source.

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

2 participants