[Help] Do non-fatal errors get unfailed?

オープン
#5,159 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
20/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
postgres, rust
領域
backend, databases

調査の方向性

store/postgres/src/deployment_store.rsの参照されているセクション、特に致命的エラーと非致命的エラーを処理している行から始めてください。subgraphの失敗状態とnon_fatal_errorsベクターがどのように永続化され、クリアされるかを追跡し、観測された動作が意図したものなのかバグなのか、そしてデータベースの状態が存在するとすればどの状態が失敗しないことを予測するのかを判断してください。

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

説明

enhancement ops Stale
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.
主要言語
Rust
スター
3.2k
フォーク
1.1k
平均マージ
4日 1時間
マージ済み PR(30日)
1

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

graphprotocol/graph-node のほかの issue

graphprotocol/graph-node の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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