A view at a carried sequence must not start without the carried proposal
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
- 45/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
- blockchain, distributed-systems
Hướng nghiên cứu
Read #780, especially step 5, and inspect the view start and restart paths, sync state transfer, and view change handling described in the issue. Add integration tests for the three carried proposal scenarios: a node must not start a view at a carried sequence without that proposal. The work is done when those tests pass and the switch prevents each invalid start.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Part of #780. Found in the review of #790. Ways a node can run a view at the sequence of a carried proposal without that proposal, or no view at all:
- After a crash, the view restored from the WAL can be working on a carried proposal, but the controller doesn't know it was carried. If that view stops and is restarted at the same view and sequence, for example by a sync that found nothing newer, it starts without the carried proposal, and its leader takes the token and can propose another value there.
- A sync can start the new view at the carried sequence (a new view record from the state transfer) before the node processes the new view message. The view then waits for a pre-prepare that the leader doesn't send, since every node carries the proposal; if the leader's own view started this way, it can propose another value there. #790 refuses to restart such a view with the carried proposal, since it may already have voted, so the node needs a view change to recover.
- The new view message for a view can arrive after a sync already started that view at the carried sequence without the carried proposal. The view changer aborts the running view (
AbortViewAndHold) and then asks for it with the carried proposal, which #790 refuses, so the node is left with no running view until the next view change or sync. Found in the review of #790.
All need the switch (#780 step 5) to make sure a node never starts a view at a carried sequence without the carried proposal, with integration tests.
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