[Bug] Moving network subgraph between shards causes empty query / wrong query
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 35/100
- Type d'issue
- Bug
- Clarté
- Plutôt claire
- Activité
- À l'abandon
- Stack technique
- graphql, rust
- Domaine
- backend-api-design, distributed-systems
Piste de recherche
Commencez par reproduire le problème avec le Graph Network Subgraph : interrogez subgraphMetadataSearch, exécutez graphman copy create --replace entre les shards, supprimez la copie d’origine, puis interrogez à nouveau. Comparez les résultats avant et après le déplacement ; le travail est terminé lorsque la requête locale renvoie les mêmes données après le déplacement du subgraph entre les shards.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Bug report
Note that this only happens for Graph Network Subgraph. Moving other subgraphs are fine
Currently it's QmUzRg2HHMpbgf6Q4VHKNDbtBEJnyp5JWCh2gUX9AV6jXv
Steps to reproduce :
- Sync network subgraph from scratch to any index nodes or shard
- After synced, try and do a local query using the network subgraph, any types of query that returns some data. Record the data
- Perform this
graphman copy create --replace <sgdXX> <shard_name> <index_node> - After copying is done, make sure the original copy is deleted or
graphman unused remove. Then repeat Step 2 and compare the data - Data returns :
{"data":{"subgraphMetadataSearch":[]}}#
My theory : Moving between index nodes is not the issue, but moving between different shards is.
subgraphMetadataSearch returns empty so I think it's IPFS related.
GRAPH_NODE_VERSION="graphprotocol/graph-node:v0.35.1"
INDEXER_SERVICE_VERSION="ghcr.io/graphprotocol/indexer-service-rs:1.3.2"
INDEXER_AGENT_VERSION="ghcr.io/graphprotocol/indexer-agent:v0.21.9"
INDEXER_CLI_VERSION="ghcr.io/graphprotocol/indexer-cli:v0.21.9"
INDEXER_TAP_AGENT_VERSION="ghcr.io/graphprotocol/indexer-tap-agent:v1.7.3"
Relevant log output
No response
IPFS hash
QmUzRg2HHMpbgf6Q4VHKNDbtBEJnyp5JWCh2gUX9AV6jXv
Subgraph name or link to explorer
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
- Langage dominant
- Rust
- Étoiles
- 3.2k
- Forks
- 1.1k
- Merge moyen
- 4 j 1 h
- PR mergées (30 j)
- 1
Guide de contribution
Ouvrir le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de graphprotocol/graph-node
-
current: include emits an all-null bucket for dimensionless aggregations, nulling the whole response Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
graphprotocol/graph-node#6719 ·
-
RUSTSEC-2026-0194: Quadratic run time when checking a start tag for duplicate attribute names Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
graphprotocol/graph-node#6673 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
graphprotocol/graph-node#6650 · 1 commentaire ·
-
Difficulté 4/5 3-5 jours Accessibilité débutants 48/100
graphprotocol/graph-node#6722 ·
-
Difficulté 3/5 1-2 jours Accessibilité débutants 68/100
graphprotocol/graph-node#6721 ·
Toutes les issues de graphprotocol/graph-node
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 86/100
kwakseongjae/auto-hwp#319 ·
-
area:cli bug filter-quality good first issue priority:medium
Difficulté 2/5 1-3 heures Accessibilité débutants 84/100
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 72/100
bevyengine/bevy#25861 ·
-
comp-datalake
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
ClickHouse/ClickHouse#121222 ·
-
enhancement remote
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100