-
Notifications
You must be signed in to change notification settings - Fork 330
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
slave中的dump目录下binlog日志不完整,无法回档到指定时间点 #63
Comments
这里之操作了
另外,binlog也有cache,有可能还没有刷到磁盘中,可以执行 |
@TendisDev |
可以将 然后将执行的命令,配置,binlogtool的结果都发出来一起看看 |
@TendisDev 配置 mater操作
slave操作
查询binlog日志得到如下内容:
即使执行了 |
因为Tendis目前实现上总保留了一个binlog在rocksdb中,由这个参数控制 后续计划增加一个心跳binlog来保证长时间没有操作的实例,binlog可以及时导出。 |
我看到文档中这个参数默认是1,也就是说每个rocksdb会保留一条,我改成0会有什么影响吗?生产环境中额外写一条监控数据也无法准确对应到每个rocksdb啊,当然在持续操作的系统中应该没有问题 |
目前这个最小值就是1,这个问题我们优化下 |
thanks O(∩_∩)O |
[bugfix] lua support cjson [bugfix] lua support cjson #63
Description
http://tendis.cn/#/Tendisplus/%E8%BF%90%E7%BB%B4/backup
参考文档描述,主从结构中,快照配合binlog日志可以回档到任意时间点,但是目前发现slave中的binlog日志并不完整,貌似总有一部分残留在内存中,比如我有10条写记录,但是binlog中只有3条,当我的写记录到达20条时,binlog中大概会出现5条记录,请问这种情况是正常的吗?
Current Behavior
slave信息
binlog查询信息,和info中的binlog_pos总是差一点
Steps to Reproduce (for bugs)
新建立一个主从tendis结构,然后在master上set20个key的值,查询slave的binlog日志就可以
Your Environment
The text was updated successfully, but these errors were encountered: