streamingfast / substreams

Powerful Blockchain streaming data engine, based on StreamingFast Firehose technology.
Apache License 2.0
160 stars 45 forks source link

Shutting down tier2 nodes gets stuck #457

Closed matthewdarwin closed 5 months ago

matthewdarwin commented 5 months ago

When shutting down tier 2 nodes, if they have reached substreams-tier2-max-concurrent-requests, tier2 doesn't stop in a timely fashion.

 INFO (substreams-tier2.tier2.metrics.emitter) received shutdown signal, waiting for launch loop to end {"trace_id" ....
matthewdarwin commented 5 months ago

I waited more than 10 minutes before force-killing the tier2 node.

matthewdarwin commented 5 months ago

There is some other problem here that is causing the node to lock up.

matthewdarwin commented 5 months ago

I relate this to https://github.com/streamingfast/substreams/releases/tag/v1.5.5. Closing.