graphprotocol / graphprotocol/graph-node

[Help] Do non-fatal errors get unfailed?

Abierto
#5,159 1 comentario 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

enhancement ops Stale
Lenguaje dominante
Rust
Estrellas
3.2k
Forks
1.1k
Merge medio
4 d 1 h
PR fusionados (30 d)
1

Descripción

Description

I'm trying to better understand how graph node handles subgraph failures and I learned that graph node automatically unfails subgraphs on initialization and during other aspects of the subgraph lifetime.

Based on this comment and this comment it seems that only fatal errors are unfailed while non-fatal errors persist. Is that correct?

Is there a way to query the database and know if a subgraph will be unfailed at some point in the future or is that managed entirely through in memory?

Ninja edit: it seems that non-fatal errors can get wiped too eg here and here where None is passed to the non_fatal_errors vector - might this be a bug?

Are you aware of any blockers that must be resolved before implementing this feature? If so, which? Link to any relevant GitHub issues.

No response

Some information to help us out
  • Tick this box if you plan on implementing this feature yourself.
  • I have searched the issue tracker to make sure this issue is not a duplicate.

Guía de contribución

Abrir la guía de contribución

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.

Línea de trabajo

Comienza con las secciones referenciadas de store/postgres/src/deployment_store.rs, especialmente las líneas que gestionan los errores fatales y no fatales. Rastrea cómo se persisten y se borran el estado de fallo del subgrafo y el vector non_fatal_errors, y determina después si el comportamiento observado es intencionado o es un error, y qué estado de la base de datos, si existe alguno, predice un no-fallo.

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

Evaluación

Stack tecnológico
postgres, rust
Área
backend, databases
Tipo de issue
Error
Dificultad
5/5
Tiempo estimado
Más de una semana
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
20/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.