graphprotocol / graphprotocol/graph-node
[Feature] Copy a subgraph at specific block height
オープン
まだ誰も着手していません。
enhancement
indexer experience
- 主要言語
- Rust
- スター
- 3.2k
- フォーク
- 1.1k
- 平均マージ
- 4日 1時間
- マージ済み PR(30日)
- 1
説明
Description
Copying a subgraph at a specific block height would allow for an elegant alternative to rewinds when a divergence is identified in a subgraph.
Proposed workflow
1 - Identify divergence point N
2 - copy subgraph at block height N
3 - Allow graph-node to fully sync the copy
4 - Verify that the divervence is resolved
5 - use graphman copy activate to gracefully direct traffic to the corrected subgraph
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.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
既存のエントリーポイント graphman copy activate から始め、subgraph のコピーがどのように表現され、同期されるかを追跡します。ブロック高 N のコピーを rewind に依存せずに作成し、完全に同期し、検証してアクティブ化する方法を定義します。提案したワークフローがエンドツーエンドで機能すれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- rust
- 領域
- backend, cli, databases
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 42/100