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
Based on tokio's documentation about graceful shutdown explore the available solutions and propose a simple logic of handling graceful shutdown of the tasks the Indexer has:
Indexer checkpoint sync
RestApi
An interesting solution could be to explore the task_tracker
The text was updated successfully, but these errors were encountered:
There are some functional requirements that pertain to the shutdown implementation:
The current checkpoint should be successfully processed. That is, once the shutdown signal is received all the data of interest that belong to the current checkpoint should be persisted in the db. Then the sync service should stop.
No other checkpoint than the current should be processed.
This brings up another question to explore: How does iota-data-ingestion-core handle the shutdown signal sent from the sync process?
Description
Based on tokio's documentation about graceful shutdown explore the available solutions and propose a simple logic of handling graceful shutdown of the tasks the Indexer has:
An interesting solution could be to explore the task_tracker
The text was updated successfully, but these errors were encountered: