Sync can save a new view the node already left
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 45/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- go
调研方向
Start by tracing sync's handling of a collected view through changeView and the view transition lock, then inspect how view records and view change records are written to the WAL. Check how minStartView records that a node has left a view, including across restart. The issue is resolved when sync skips aborting and recording a collected view below minStartView, preserving that state in the WAL.
由索引模型根据 Issue 内容生成。
描述
When sync collects a state with a newer view, it aborts the current view and writes a new view record without checking whether the node already left that view. changeView then refuses to start the view, so no view runs until the next view change or sync. The record also replaces the view change record in the WAL. After a restart the node no longer knows it left the view, and can start it. A fix is to skip the abort and the record, under the view transition lock, when the collected view is below minStartView. Found in the review of the sync carry change.
Written by Claude for @HagarMeir.
- 主要语言
- Go
- 星标
- 110
- 派生
- 41
- 平均合并
- 20 小时 59 分钟
- 30 天内合并 PR
- 27
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
hyperledger/SmartBFT 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 65/100
hyperledger/SmartBFT#803 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 42/100
hyperledger/SmartBFT#801 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 48/100
hyperledger/SmartBFT#798 ·
维护者通常 1 天内回复
-
enhancement
难度 4/5 3-5 天 新手友好度 48/100
hyperledger/SmartBFT#796 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 48/100
hyperledger/SmartBFT#793 · 1 条评论 ·
维护者通常 1 天内回复
查看 hyperledger/SmartBFT 的全部 Issue
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 60/100
slavakurilyak/awesome-ai-agents#1100 ·
维护者通常 1 天内回复
-
go_tool_binary: GOMAXPROCS=1 makes a cold builder build 3-4x slower可能已有人在做 @TrapsterDK 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 68/100
bazel-contrib/rules_go#4816 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 73/100
mark3labs/mcp-go#1397 · 1 条评论 ·
维护者通常 2 天内回复
-
fix(tool/internal/setup): clearer errors when loading rule files from OTELC_RULES可能已有人在做 @NeoSamyak 今天认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 65/100
open-telemetry/opentelemetry-go-compile-instrumentation#1946 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 77/100
维护者通常 1 天内回复