Skip to content

[Bug] Assertion about dynamic data sources failed #4994

@paymog

Description

@paymog

Bug report

A subgraph deployed into my graph node is failing with

thread 'QmbrEG3Ph195yb341q1utKWu1WiupaeSeYRGRTdZaDASqC[2737]' panicked at 'assertion failed: self.hosts.last().and_then(|h| h.creation_block_number()) <=
    data_source.creation_block()', /graph-node/core/src/subgraph/context/instance.rs:136:9

I'm also seeing issues with the creation of runtime hosts.

Relevant log output

Nov 16 09:27:23.651 WARN no runtime host created, there is already a runtime host instantiated for this data source, address: 6261666b726569676875626d677572717070336b6d6f666c637663356635766c366661376b736f34657077737a366235366e73706d377669346c75, name: MetadataInfo, sgd: 2737, subgraph_id: QmbrEG3Ph195yb341q1utKWu1WiupaeSeYRGRTdZaDASqC, component: SubgraphInstanceManager
Nov 16 09:27:23.810 WARN no runtime host created, there is already a runtime host instantiated for this data source, address: 6261666b726569633671767073636c6d6f6570787473726e786d6f7a70326f3566777579756c6164753733773762677461366b35796c766c6c7779, name: MetadataInfo, sgd: 2737, subgraph_id: QmbrEG3Ph195yb341q1utKWu1WiupaeSeYRGRTdZaDASqC, component: SubgraphInstanceManager
Nov 16 09:27:31.856 WARN no runtime host created, there is already a runtime host instantiated for this data source, address: 6261666b726569676d32717264357366656c756a35367135783274673369706674676e6b7a6b37697a6b7a6e7868346a676f697965776d32697234, name: MetadataInfo, sgd: 2737, subgraph_id: QmbrEG3Ph195yb341q1utKWu1WiupaeSeYRGRTdZaDASqC, component: SubgraphInstanceManager
Nov 16 09:27:32.002 WARN no runtime host created, there is already a runtime host instantiated for this data source, address: 6261666b72656964643765377669706b36787978657078646a3468616268357a6e75717173326b65696e796b733433376f35326f69376536746561, name: MetadataInfo, sgd: 2737, subgraph_id: QmbrEG3Ph195yb341q1utKWu1WiupaeSeYRGRTdZaDASqC, component: SubgraphInstanceManager
thread 'QmbrEG3Ph195yb341q1utKWu1WiupaeSeYRGRTdZaDASqC[2737]' panicked at 'assertion failed: self.hosts.last().and_then(|h| h.creation_block_number()) <=
    data_source.creation_block()', /graph-node/core/src/subgraph/context/instance.rs:136:9

IPFS hash

QmbrEG3Ph195yb341q1utKWu1WiupaeSeYRGRTdZaDASqC

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions