Skip to content

Refactor runtime storage committee worker into smaller and independent workers #6307

@martintomazic

Description

@martintomazic

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:

  1. Diff sync worker (fetches and applies storage diffs).
  2. Light sync worker (populates light history - either uses indexer, or eventually p2p or both).
  3. Checkpointer (responsible for creating storage checkpoints)
  4. "Availability nudger" (old name) responsible for registering availability.
  5. Checkpoint sync worker - responsible for runtime state sync:
    • Currently we are leaking resources, as checkpoints sync p2p clients persists idly (peer tracking etc).

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions