吴祖洋
吴祖洋
可能是所使用的 sdk 设计问题,可以联系 sdk 的设计者修改此处逻辑。
为了解决当前问题,你需要这样操作: 重新用一个空的数据库作为第二个主节点。
一般是你用了多线程的原因. 如果使用多线程, 请确保每个线程创建一个独立的连接, 不可共享.
When a new node(masterB) added, masterA will iterate over the whole leveldb database to make a full dump(snapshot). leveldb may do compaction at this time, I have seen some cases,...
Run compact when the server is not busy.
出现 OUT_OF_SYNC 的错误信息,表示主从同步中断了,解决方法如下: * 停止出问题的节点,然后删除 data meta 两个目录 * 启动节点
As you mentioned, the simplest and recommended way to avoid OUT_OF_SYNC is to increase binlog capacity, which can be configured in ssdb.conf(it is a hidden configuration item, not included in...
@saveriocastellano Heavy writes may cause the OUT_OF_SYNC problem, especially when the network band width is not large enough. To solve this problem, one way is to increase binlog.capacity, another way...
`binlog.capacity` does not impact memory, it just impact disk usage, so you can increase it without worrying about memory. but 100000000 is normally a large number. you should try and...
Maybe we need `add_slave` and `del_slave` command.