mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 09:57:56 +00:00
3e8139e7de
Currently, collators and their alongside nodes spin up a full-scale overseer running a bunch of subsystems that are not needed if the node is not a validator. That was considered to be harmless; however, we've got problems with unused subsystems getting stalled for a reason not currently known, resulting in the overseer exiting and bringing down the whole node. This PR aims to only run needed subsystems on such nodes, replacing the rest with `DummySubsystem`. It also enables collator-optimized availability recovery subsystem implementation. Partially solves #1730.
16 lines
570 B
Plaintext
16 lines
570 B
Plaintext
# Schema: Polkadot SDK PRDoc Schema (prdoc) v1.0.0
|
|
# See doc at https://raw.githubusercontent.com/paritytech/polkadot-sdk/master/prdoc/schema_user.json
|
|
|
|
title: Do not run unneeded subsystems on collator and its alongside node
|
|
|
|
doc:
|
|
- audience: Node Dev
|
|
description: |
|
|
Optimizes overseer building strategy to only include subsystems needed to run the given
|
|
type of node. Reduces overseer overhead and also solves the problem with unused subsystems
|
|
getting stalled from time to time.
|
|
|
|
crates:
|
|
- name: polkadot-overseer
|
|
- name: polkadot-service
|