You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
When a subgraph has failed with non-deterministic error, the runner thread goes to sleep.
Run graphman rewind -s 30 $CURRENT_BLOCK $IPFS to restart the subgraph processing thread. I also tried running with a larger sleep (480s) that was longer than the duration the thread was sleeping for (the log was Mar 15 22:45:25.734 ERRO Subgraph failed with non-deterministic error: Failed to transact block operations: subgraph writer poisoned by previous error, retry_delay_s: 240).
The subgraph starts up and is indexing blocks happily. I think this starts a new subgraph processing thread.
When the runner thread from (1) wakes up, it sees that the writer is still poisoned and then fails again with non-deterministic error. (should this be fixed already?)
The subgraph stops indexing. I think the thread spawned by (2) got killed as well.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
What is the expected behavior?
After the graphman rewind and the subgraph restarts and is indexing happily, it shouldn't fail again.
Should having two threads processing a single subgraph even be allowed? When new subgraph thread starts up, should we be killing the one that's sleeping?
Why isn't the poisoned writer not clearing its state? I think it should be, indicated from this fix.
The text was updated successfully, but these errors were encountered:
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
When a subgraph has failed with non-deterministic error, the runner thread goes to sleep.
Run
graphman rewind -s 30 $CURRENT_BLOCK $IPFS
to restart the subgraph processing thread. I also tried running with a larger sleep (480s) that was longer than the duration the thread was sleeping for (the log wasMar 15 22:45:25.734 ERRO Subgraph failed with non-deterministic error: Failed to transact block operations: subgraph writer poisoned by previous error, retry_delay_s: 240
).The subgraph starts up and is indexing blocks happily. I think this starts a new subgraph processing thread.
When the runner thread from (1) wakes up, it sees that the writer is still
poisoned
and then fails again with non-deterministic error. (should this be fixed already?)The subgraph stops indexing. I think the thread spawned by (2) got killed as well.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
What is the expected behavior?
After the
graphman rewind
and the subgraph restarts and is indexing happily, it shouldn't fail again.The text was updated successfully, but these errors were encountered: