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

Raft 集群进度 #15

Open
10 of 20 tasks
panlei-coder opened this issue Aug 31, 2024 · 0 comments
Open
10 of 20 tasks

Raft 集群进度 #15

panlei-coder opened this issue Aug 31, 2024 · 0 comments

Comments

@panlei-coder
Copy link
Collaborator

panlei-coder commented Aug 31, 2024

待做事项

raft

  • 引入 braft @panlei-coder #130
  • 实现 Redis Raft 命令,实现 RAFT.CLUSTER INIT, RAFT.CLUSTER JOIN, RAFT.NODE ADDRAFT REMOVE 命令 @KKorpse & @panlei-coder #136 #221
  • Check Point @dingxiaoshuai123 #226
  • apply 支持,完成 praft 添加 binlogon_apply 解析 binlog 并写入的逻辑 @lonfar-ncy #213
  • braft log index 映射 @lonfar-ncy #246
  • Raft 快照支持 @dingxiaoshuai123 & @panlei-coder #238 #279
  • braft 快照自定义日志截断点 @panlei-coder
  • flush event 时机 @dingxiaoshuai123
  • on_spapshot_load 区分自己安装快照 vs 自己正在启动 @panlei-coder
  • raft 读一致性的实现 @panlei-coder
  • 优雅关闭 pikiwidb @smx
  • 单独 cf 保存其它 cf flush 位点 @文一
  • braft 新增接口,判断两个 logindex 之间数据量 @gkj

主从

测试

文档建设

优化点

  • logindex 维护的多队列优化
  • 一个 rocksdb 一个 raft (优先级低)
  • 1 我们可以将主动 Leader Election 的功能关闭,这样就不需要维护 Leader Lease 的心跳了 OR 2 将复制组之间的心跳合并到节点之间的心跳 ref braft raft
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant