Decouple the `RaftNode.run()` asynchronous task from "tick"
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 30/100
- Issue 类型
- 重构
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- rust
调研方向
首先跟踪 RaftNode.run 及其拥有的 APIs,以确定哪些异步边界仅因 task 而存在。梳理将 APIs 与 tick task 解耦所需的更改,然后验证由此产生的同步和异步接口仍然保持一致。
由索引模型根据 Issue 内容生成。
描述
In the current structure, all APIs are forced to be async, and since RaftNode.run is the only one that owns RaftNode, all APIs are unnecessarily coupled with the task.
Let's change this structure and convert unnecessary async functions to sync.
- 主要语言
- Rust
- 星标
- 44
- 派生
- 14
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
lablup/raftify 的其他 Issue
-
integration-test
难度 4/5 3-5 天 新手友好度 38/100
-
dx
难度 5/5 一周以上 新手友好度 32/100
-
feature log-storage snapshot
难度 4/5 3-5 天 新手友好度 35/100
-
good first issue log-storage test
难度 3/5 1-2 天 新手友好度 42/100
-
feature
难度 4/5 3-5 天 新手友好度 38/100
相似的 Issue
-
area:ui effort:medium enhancement P7 source:agent
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
marketing
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复
-
machine rename accepts a label already used by another machine, making --machine <label> ambiguous未关闭maintainer-needed p2 remote triaged
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
bug help wanted ui
难度 2/5 1-3 小时 新手友好度 82/100
userFRM/egui-charts#4605 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复