Sync can enter a new view at a sequence that doesn't match the node's own state

Abierto
#801 0 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
42/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
go

Línea de trabajo

Start by reviewing pull request #800 and trace the sync logic that saves a new view and carries proposals into it; the issue does not name the relevant files or tests. Check how the node's checkpoint and pending decisions affect the sequence for the new view, then add or update tests for both reported cases. Done means sync enters the correct sequence and does not re-verify a carried proposal after its decision is delivered.

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

Descripción

  1. Sync saves a new view when the collected sequence is the synchronizer's latest decision + 1, not the sequence the node continues at. If the synchronizer's latest decision is behind the node's checkpoint, the node can save a new view record behind its checkpoint and move to the view ahead of the others, or miss the new view.
  2. If the view that sync aborts already decided a sequence whose decision is still waiting to be delivered, the new view starts at that sequence. With a carried proposal, it verifies the proposal again after the decision is delivered. That can make it complain against a correct leader.

Found in the review of #800.

Written by Claude for @HagarMeir.

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.