Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[2 / 5] Make approval-distribution logic runnable on a separate thread #4845

Merged
merged 3 commits into from
Jul 29, 2024

Conversation

alexggh
Copy link
Contributor

@alexggh alexggh commented Jun 20, 2024

This is part of the work to further optimize the approval subsystems, if you want to understand the full context start with reading #4849 (comment),

Description

This PR contain changes to make possible the run of multiple instances of approval-distribution, so that we can parallelise the work. This does not contain any functional changes it just decouples the subsystem from the subsystem Context and introduces more specific trait dependencies for each function instead of all of them requiring a context.

It does not have any dependency of the follow PRs, so it can be merged independently of them.

@alexggh alexggh changed the title [WIP] Make approval-distribution logic runnable on a separate thread Make approval-distribution logic runnable on a separate thread Jun 20, 2024
@alexggh alexggh changed the title Make approval-distribution logic runnable on a separate thread [1 / 5] Make approval-distribution logic runnable on a separate thread Jun 20, 2024
@alexggh alexggh force-pushed the alexaggh/approval-voting-parallel-1-5 branch from 381e0b9 to 88e15da Compare July 2, 2024 11:40
@alexggh alexggh changed the title [1 / 5] Make approval-distribution logic runnable on a separate thread [3 / 5] Make approval-distribution logic runnable on a separate thread Jul 2, 2024
@alexggh alexggh changed the base branch from master to alexaggh/approval-voting-parallel-3-5 July 2, 2024 11:46
@alexggh alexggh changed the base branch from alexaggh/approval-voting-parallel-3-5 to master July 2, 2024 11:50
@alexggh alexggh force-pushed the alexaggh/approval-voting-parallel-1-5 branch from 88e15da to 4b3f489 Compare July 2, 2024 11:54
@alexggh alexggh changed the title [3 / 5] Make approval-distribution logic runnable on a separate thread [2 / 5] Make approval-distribution logic runnable on a separate thread Jul 2, 2024
@alexggh alexggh changed the base branch from master to alexaggh/approval-voting-parallel-4-5 July 2, 2024 12:03
@paritytech-cicd-pr
Copy link

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: cargo-clippy
Logs: https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/6603646

@alexggh alexggh force-pushed the alexaggh/approval-voting-parallel-4-5 branch from 4b3f489 to 713aef4 Compare July 2, 2024 12:29
@alexggh alexggh force-pushed the alexaggh/approval-voting-parallel-1-5 branch 2 times, most recently from 406d11c to 2281330 Compare July 5, 2024 11:36
@alexggh alexggh marked this pull request as ready for review July 5, 2024 13:31
Base automatically changed from alexaggh/approval-voting-parallel-4-5 to master July 16, 2024 10:16
Signed-off-by: Alexandru Gheorghe <alexandru.gheorghe@parity.io>
@alexggh alexggh force-pushed the alexaggh/approval-voting-parallel-1-5 branch from 2281330 to 8dbb088 Compare July 16, 2024 12:39
Signed-off-by: Alexandru Gheorghe <alexandru.gheorghe@parity.io>
@ordian ordian added the T0-node This PR/Issue is related to the topic “node”. label Jul 26, 2024
@ordian
Copy link
Member

ordian commented Jul 26, 2024

missing prdoc

@ordian ordian added the T8-polkadot This PR/Issue is related to/affects the Polkadot network. label Jul 26, 2024
Signed-off-by: Alexandru Gheorghe <alexandru.gheorghe@parity.io>
@alexggh alexggh added this pull request to the merge queue Jul 29, 2024
Merged via the queue into master with commit 0636ffd Jul 29, 2024
153 of 161 checks passed
@alexggh alexggh deleted the alexaggh/approval-voting-parallel-1-5 branch July 29, 2024 10:49
TarekkMA pushed a commit to moonbeam-foundation/polkadot-sdk that referenced this pull request Aug 2, 2024
paritytech#4845)

This is part of the work to further optimize the approval subsystems, if
you want to understand the full context start with reading
paritytech#4849 (comment),

# Description

This PR contain changes to make possible the run of multiple instances
of approval-distribution, so that we can parallelise the work. This does
not contain any functional changes it just decouples the subsystem from
the subsystem Context and introduces more specific trait dependencies
for each function instead of all of them requiring a context.

It does not have any dependency of the follow PRs, so it can be merged
independently of them.

---------

Signed-off-by: Alexandru Gheorghe <alexandru.gheorghe@parity.io>
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T0-node This PR/Issue is related to the topic “node”. T8-polkadot This PR/Issue is related to/affects the Polkadot network.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants