[Bug] graph-node won't start if DNS does not resolve

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
rust

調査の方向性

レポートではファイルもテストも指定されていません。まず、graph-node の起動を DNS 解決経路に沿って追跡し、空の DNS 結果によって起動が妨げられている箇所を特定してください。解決済みレコードがなくても起動が継続し、IP アドレスの変更を検出できるよう DNS が定期的に再試行されれば完了です。

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

説明

bug ops Stale
Bug report

We use consul (https://www.hashicorp.com/products/consul) to manage DNS for our RPC servers. Consul will add/remove DNS entries based on health status of RPCs. If all the RPCs are unhealthly the DNS query will return no results.

If the DNS returns no results, graph-node fails to start.

Graph-node should start even if DNS is not resolvable and attempt to resolve IP address from time-to-time just as it normally should do for any other service.

Note: IP addresses change over time. DNS should be re-resolved on a periodic basis anyway.

Relevant log output

No response

IPFS hash

No response

Subgraph name or link to explorer

No response

Some information to help us out
  • Tick this box if this bug is caused by a regression found in the latest release.
  • Tick this box if this bug is specific to the hosted service.
  • I have searched the issue tracker to make sure this issue is not a duplicate.
OS information

None

主要言語
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 を短くまとめたダイジェスト。