A restarted or renumbered view can lose the proposal it was in the middle of
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 48/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- go
- Lĩnh vực
- distributed-systems
Hướng nghiên cứu
Read the review for #780 and the related work in #790 and its follow-up to understand how proposals are carried across view changes and restarts. Trace NewProposer and the restart paths described in the issue, focusing on restored view, phase, proposal, and leader-token state. Done means both restarting at a later view and restarting at the same view and sequence preserve the correct proposal and do not permit a conflicting proposal.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Found in the review for #780. Both predate carrying proposals.
- When the controller starts a later view than the one the WAL restore put the view in (for example after a sync on start),
NewProposerraises the view number but keeps the restored phase (PROPOSED or PREPARED) and proposal of the earlier view. The view then runs an earlier view's proposal under the new number: it rebroadcasts a prepare of the earlier view and, if it leads, doesn't take the leader token. - When a view in the middle of its own proposal at (v, s) is restarted at the same view and sequence, for example by a sync that finds nothing newer, the new view starts empty. Its leader takes the token and can pre-prepare another proposal at (v, s), and followers that were restarted too accept it after having voted for the first one. #790 and the follow-up keep a carried proposal across such a restart, but not the view's own.
Written by Claude (AI assistant) on behalf of @HagarMeir.
- Ngôn ngữ chính
- Go
- Star
- 110
- Fork
- 41
- Merge trung bình
- 20 giờ 59 phút
- Pull request đã merge (30 ngày)
- 27
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của hyperledger/SmartBFT
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
hyperledger/SmartBFT#803 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 42/100
hyperledger/SmartBFT#801 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
hyperledger/SmartBFT#799 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
hyperledger/SmartBFT#798 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
hyperledger/SmartBFT#796 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của hyperledger/SmartBFT
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 60/100
slavakurilyak/awesome-ai-agents#1100 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
go_tool_binary: GOMAXPROCS=1 makes a cold builder build 3-4x slowerCó thể đã có người làm @TrapsterDK đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
bazel-contrib/rules_go#4816 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 73/100
mark3labs/mcp-go#1397 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
fix(tool/internal/setup): clearer errors when loading rule files from OTELC_RULESCó thể đã có người làm @NeoSamyak đã nhận hôm nay. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
open-telemetry/opentelemetry-go-compile-instrumentation#1946 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
Maintainer thường phản hồi trong vòng 1 ngày