graphprotocol / graphprotocol/graph-node

indexing freezing when using ipc connection

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

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

bug Stale
主要言語
Rust
スター
3.2k
フォーク
1.1k
平均マージ
4日 1時間
マージ済み PR(30日)
1

説明

Bug report

Hello,

When I use IPC connection it always freeze and I need to close and restart the node. Im running the node with the follow command

sudo cargo run -p graph-node --release -- \
  --ethereum-ipc mainnet:archive,traces:/home/guru/reth-mainnet/reth.ipc \
  --postgres-url postgresql://graph-node:let-me-in@localhost:5432/graph-node \
  --ipfs 127.0.0.1:5001

It start indexing right away my subgraphs (im currently indexing only one for testing), and it freeze like every 10 seconds.

Do im doing something wrong? http and ws connection working perfect, just the ipc freeze alot

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

Linux

### Tasks

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

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

はじめの一歩

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

調査の方向性

まず、提供された cargo run -p graph-node --release コマンドとその --ethereum-ipc 設定で問題を再現し、報告されている動作する HTTP 接続および WS 接続と比較します。繰り返し発生するフリーズの前後の関連するログを収集します; 報告されたセットアップで IPC インデックス作成がフリーズしなくなれば完了とします。

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

評価

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

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

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