graph-node icon indicating copy to clipboard operation
graph-node copied to clipboard

[Bug] Subgraph hit error: internal constraint violated: Batches must go forward. Can't append a batch with block pointer...

Open brianluong opened this issue 1 year ago • 3 comments

Bug report

Subgraph failed after hitting this error: Jul 14 00:13:20.858 ERRO Subgraph failed with non-deterministic error: Failed to transact block operations: internal constraint violated: Batches must go forward. Can't append a batch with block pointer #6265702 (c2d228257112989474262df4754e5bceae3932c36094aa32feb07c69da390797) to one with block pointer #6265702 (c2d228257112989474262df4754e5bceae3932c36094aa32feb07c69da390797), retry_delay_s: 213, attempt: 1, sgd: 365, component: SubgraphInstanceManager

The subgraph started syncing after restarting graph-node.

What caused this error and how can we avoid it in the future?

Some information to help us out

  • [X] 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.
  • [X] I have searched the issue tracker to make sure this issue is not a duplicate.

OS information

Linux

brianluong avatar Jul 19 '23 19:07 brianluong

hey @brianluong did you do anything around the time this happened (e.g. pausing or reassigning the subgraph), or did this just happen spontaneously? cc @lutter as this is batching related

azf20 avatar Aug 09 '23 12:08 azf20

@azf20 It seemed to happen spontaneously.

brianluong avatar Aug 09 '23 17:08 brianluong

Looks like this issue has been open for 6 months with no activity. Is it still relevant? If not, please remember to close it.

github-actions[bot] avatar Feb 06 '24 00:02 github-actions[bot]