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

ssdb主从复制架构,无法在主上执行flushdb #32

Open
WPFS opened this issue Aug 23, 2018 · 1 comment
Open

ssdb主从复制架构,无法在主上执行flushdb #32

WPFS opened this issue Aug 23, 2018 · 1 comment

Comments

@WPFS
Copy link

WPFS commented Aug 23, 2018

ssdb 127.0.0.1:50600> flushdb
error! - flushdb is not allowed when replication is in use!
提示为flushdb在使用主从复制时不允许flushdb。请问怎样去清空数据库?

@ideawu
Copy link
Owner

ideawu commented Aug 23, 2018

设计如此。

你需要将主从都停了,然后手动删除各自的 data 和 meta 目录。

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