Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] New subgraphs not syncing until node restart #5774

Open
1 of 3 tasks
Sledro opened this issue Jan 17, 2025 · 0 comments
Open
1 of 3 tasks

[Bug] New subgraphs not syncing until node restart #5774

Sledro opened this issue Jan 17, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@Sledro
Copy link

Sledro commented Jan 17, 2025

Bug report

We have recently upgraded our graph node for the first time in months to v0.36.0. Since upgrading we face an issue: every new subgraph that is deployed will not start indexing unless we restart the graph node. Any ideas why this could be happening? We have quite a few production users including DEX's etc so its a bit of a pain. The issue is identical on our testnet and mainnet graph nodes.

The node is connected to our L2 network.

{
  "errors": [
    {
      "message": "Store error: query execution failed: Subgraph QmRzL2dZraVoMCniN5iJ88ygCVuT24ix8T12Zv724z2ug8 has not started syncing yet. Wait for it to ingest a few blocks before querying it"
    }
  ]
}

Note: the included logs appear after the node is restarted. For 12 hours before hand we get the error above and nothing related to the subgraph in the logs

Relevant log output

Jan 17 10:04:17.117 INFO Resolve subgraph files using IPFS, n_templates: 0, n_data_sources: 7, runner_index: 29, sgd: 793, subgraph_id: QmRzL2dZraVoMCniN5iJ88ygCVuT24ix8T12Zv724z2ug8, component: SubgraphInstanceManager
Jan 17 10:04:23.074 INFO Successfully resolved subgraph files using IPFS, features: ø, n_templates: 0, n_data_sources: 7, runner_index: 29, sgd: 793, subgraph_id: QmRzL2dZraVoMCniN5iJ88ygCVuT24ix8T12Zv724z2ug8, component: SubgraphInstanceManager
Jan 17 10:04:23.282 INFO Starting subgraph writer, queue_size: 5, runner_index: 29, sgd: 793, subgraph_id: QmRzL2dZraVoMCniN5iJ88ygCVuT24ix8T12Zv724z2ug8, component: SubgraphInstanceManager
Jan 17 10:04:23.848 INFO Data source count at start: 7, runner_index: 29, sgd: 793, subgraph_id: QmRzL2dZraVoMCniN5iJ88ygCVuT24ix8T12Zv724z2ug8, component: SubgraphInstanceManager
Jan 17 10:04:24.670 INFO Scanning blocks [8200000, 8200000], target_range_size: 1, sgd: 793, subgraph_id: QmRzL2dZraVoMCniN5iJ88ygCVuT24ix8T12Zv724z2ug8, component: BlockStream
Jan 17 10:04:24.776 INFO Scanned blocks [8200000, 8200000], range_size: 1, sgd: 793, subgraph_id: QmRzL2dZraVoMCniN5iJ88ygCVuT24ix8T12Zv724z2ug8, component: BlockStream
(Continues scanning as exptected)

IPFS hash

QmRzL2dZraVoMCniN5iJ88ygCVuT24ix8T12Zv724z2ug8

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

@Sledro Sledro added the bug Something isn't working label Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant