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

Abierto
#765 2 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
22/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
go

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Go
Estrellas
110
Forks
41
Merge medio
20 h 59 min
PR fusionados (30 d)
27

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de hyperledger/SmartBFT

Todos los issues de hyperledger/SmartBFT

Issues similares

Más issues de Go

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.