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
日志问题 #35
Comments
这个是主从同步的binlog,不用手动删除,pika会根据配置自动删除,如果自动删除失效,可以检查一下该节点是否有挂slave,可能由于slave占的同步点比较靠前导致前面的文件都没法自动删除 |
怎么看slave的同步点 |
如果手动删除了,会有什么影响,主从同步会失效吗?还需要重新做一次主从吗? |
不可以手动删除,如果是主可能导致已有的同步线程同步失败 |
同步失败后还能恢复吗?还是说只能重新再创建一台从了? |
1,如果由于手动删除了主的binlog导致同步失败,可以将主上之前的binlog全部都删除,所有的从重新salveof no, slaveof 来重新建立主从关系 |
* fix memory leak * remove not necessary locks & code format
write2file这个日志文件主要用途是做什么的,如果太多了,可不可以直接手动删除?还有就是使用默认配置最大数量10个的时候,感觉没起作用,日志文件数量一直在增加
The text was updated successfully, but these errors were encountered: