We should also move out things that this worker should not be responsible for such as updating availability, checkpointing and pruning the state.
Depending on the config storage committee worker should only orchestrate:
- Diff sync worker (fetches and applies storage diffs).
- Light sync worker (populates light history - either uses indexer, or eventually p2p or both).
- Checkpointer (responsible for creating storage checkpoints)
- "Availability nudger" (old name) responsible for registering availability.
- Checkpoint sync worker - responsible for runtime state sync:
- Currently we are leaking resources, as checkpoints sync p2p clients persists idly (peer tracking etc).