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

Aperta
#765 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
22/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
go

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Go
Stelle
110
Fork
41
Merge medio
20h 59m
PR unite (30g)
27

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di hyperledger/SmartBFT

Tutte le issue di hyperledger/SmartBFT

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.