A node can start a view it left after a restart or a reconfiguration

オープン
#765 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
22/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
go

調査の方向性

Start with the view changer's restart path, where setViewAndSeq reads the saved view change record and starts the controller, and with Consensus.reconfig, which rebuilds the components. The issue says the fix should derive the lowest startable view from that record or persist it, and keep it across reconfiguration. Done means the node never starts a view it previously left, after both restart and reconfiguration. The issue depends on #764 and needs familiarity with the view change protocol.

索引モデルが issue の本文から書いたものです。

説明

Written by Claude (Anthropic's AI assistant) on behalf of Hagar Meir.

Once #764 is fixed, a node never starts a view it left again, but this is only kept in memory:

  • Restart: the view changer saves a view change record before it sends its view data. On restart, setViewAndSeq reads that record and starts the controller in the view the record names, which is the view the node left. Only after that does the view changer restore the view change, abort that view and send its view data again. In between, the node runs the view it left.
  • Reconfiguration: Consensus.reconfig rebuilds the components, and the new controller doesn't know which views the node left.

Proposed: on restart, derive the lowest view the node may start from the view change record (or persist it), and don't start the controller in a view the node left. Keep it across a reconfiguration.

主要言語
Go
スター
110
フォーク
41
平均マージ
20時間 59分
マージ済み PR(30日)
27

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

hyperledger/SmartBFT のほかの issue

hyperledger/SmartBFT の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。