We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The text was updated successfully, but these errors were encountered:
#238 #245
Sorry, something went wrong.
#275
No branches or pull requests
1.1 改造 FSMCaller::do_snapshot_save(SaveSnapshotClosure* done) :修改赋予 last_applied_index 的值。
1.2 故障恢复的回放点是可以动态设置的,替换掉为启动之后的apply-index
2.1 eventlisten 监听 flush 事件,在回调时检查 log 数量,超过阈值 x 之后, flush 一个 cf :选择出一个 (当前 seq 与 所有 mem 的 first_seq 的最大差值,且超过一个阈值)对应的 cf 。
2.2 调优:找出合理的最大差值阈值。从 memtable 对应的 braft 日志条数来反推当前 cf 落后的总量。
3.1 https://luobuda.github.io/2022/02/15/braft-snapshot%E5%AE%9E%E7%8E%B0/ 借鉴看看
3.2 通过迭代器生成 SST 文件并通过 ingest 方法导入 RocksDB 实例
3.3 生成 checkpoint 将文件发送给其他 node 。
The text was updated successfully, but these errors were encountered: