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] Cannot rewind subgraph with multiple entries #5603

Open
2 of 3 tasks
paymog opened this issue Aug 14, 2024 · 1 comment
Open
2 of 3 tasks

[Bug] Cannot rewind subgraph with multiple entries #5603

paymog opened this issue Aug 14, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@paymog
Copy link

paymog commented Aug 14, 2024

Bug report

I have a subgraph with multiple entries that I want to rewind

root@goldskyraw-indexer-0-graph-node-7d99457bd5-tl7f2:/# graphman info QmQzA62X9YpN7CVL3UaPhCVBWnwGiFsq395fPrkaa9T2Gf
name      | cly2om8v1y9pa01zw0d2eh5vr
status    | current
id        | QmQzA62X9YpN7CVL3UaPhCVBWnwGiFsq395fPrkaa9T2Gf
namespace | sgd57856
shard     | second
active    | true
chain     | artela-betanet
node_id   | paused
----------+-------------------------------------------------------------------
name      | cly70thk886zb011s2i49cnzy
status    | current
id        | QmQzA62X9YpN7CVL3UaPhCVBWnwGiFsq395fPrkaa9T2Gf
namespace | sgd57856
shard     | second
active    | true
chain     | artela-betanet
node_id   | paused
----------+-------------------------------------------------------------------
name      | clxv9e0ksx4a801tef6j17rel
status    | current
id        | QmQzA62X9YpN7CVL3UaPhCVBWnwGiFsq395fPrkaa9T2Gf
namespace | sgd57856
shard     | second
active    | true
chain     | artela-betanet
node_id   | paused
----------+-------------------------------------------------------------------
name      | clxk54zxw3y7a010lh7xtgb1w
status    | current
id        | QmQzA62X9YpN7CVL3UaPhCVBWnwGiFsq395fPrkaa9T2Gf
namespace | sgd57856
shard     | second
active    | true
chain     | artela-betanet
node_id   | paused

When I try to rewind it, I get the following error

Error: Multiple deployments found for the search : QmQzA62X9YpN7CVL3UaPhCVBWnwGiFsq395fPrkaa9T2Gf. Try using the id of the deployment (eg: sgd143) to uniquely identify the deployment

This error happen regardless of whether I use the IPFS hash or the sgd id.

It seems that this bug was introduced in 09db0ce. Prior to this commit, I could rewind subgraphs with multiple entries (the old logic would flatten all the nested arrays). Now, whether an sgd id is used or an ipfs hash, this errors out.

This is happening on v0.35.1

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

None

@paymog paymog added the bug Something isn't working label Aug 14, 2024
@cryptovestor21
Copy link

We're also experiencing this issue with 0.35.1.

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

2 participants