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
We have the root supervision tree in the Application module but it's really bare bones. The process trees reponsible for maintaining individual shapes are started at a later point in time, on demand.
The current design and split of different sub-supervisors between files makes the initialization sequence too opaque. As a consequence, we have a failure state caused by a Snapshotter process trying to access the database before the DB connection pool has been started. See, for example,
To fix this, we need to reorganize the code such that the start sequence for the core processes, such as the replication client and the DB connection pool, is clearly visible in the code and clearly happens before shape-specific supervision trees are started.
The text was updated successfully, but these errors were encountered:
We have the root supervision tree in the
Application
module but it's really bare bones. The process trees reponsible for maintaining individual shapes are started at a later point in time, on demand.The current design and split of different sub-supervisors between files makes the initialization sequence too opaque. As a consequence, we have a failure state caused by a
Snapshotter
process trying to access the database before the DB connection pool has been started. See, for example,To fix this, we need to reorganize the code such that the start sequence for the core processes, such as the replication client and the DB connection pool, is clearly visible in the code and clearly happens before shape-specific supervision trees are started.
The text was updated successfully, but these errors were encountered: