e1e3163752
Since adding new features like "sequencer replay" or init retries would make the current code too complex, a refactor is required: Config: The config struct now holds a `DatabaseState` which is a simple linear state machine representing the different stages of the database init. Init: The init module now has a fixpoint-loop which looks at the state, decides what to do based on it and repeats until either the DB is initialized or an error occured. This also makes it easier to continue the init process "in the middle", e.g. when the preserved catalog is broken or the sequencer (e.g. Kafka) could not be reached. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |