Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

node/service/src/lib: Do not spawn authority discovery on sentries #1835

Merged
3 commits merged into from
Oct 26, 2020

Conversation

mxinden
Copy link
Contributor

@mxinden mxinden commented Oct 21, 2020

The notion of sentry nodes has been deprecated (see [1] for details).
Support for sentry nodes in the client/authority-discovery module has
been removed.

This commit adjusts the instantiation of the authority discovery worker
accordingly, only spawning the module on authority nodes.

Companion for paritytech/substrate#7368.

[1] paritytech/substrate#6845

The notion of sentry nodes has been deprecated (see [1] for details).
Support for sentry nodes in the `client/authority-discovery` module has
been removed.

This commit adjusts the instantiation of the authority discovery worker
accordingly, only spawning the module on authority nodes.

[1] paritytech/substrate#6845
@mxinden mxinden added A0-please_review Pull request needs code review. B0-silent Changes should not be mentioned in any release notes A4-companion A PR that needs a companion PR to merge in parallel for one of its downstream dependencies. C1-low PR touches the given topic and has a low impact on builders. labels Oct 21, 2020
Copy link
Member

@ordian ordian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, but this will conflict with #1795 (cc @coriolinus). I'm fine with merging this PR first as it is smaller.

@ghost
Copy link

ghost commented Oct 26, 2020

Waiting for commit status.

@ghost ghost merged commit fb30dc2 into master Oct 26, 2020
@ghost ghost deleted the mxinden-auth-disc-remove-sentries branch October 26, 2020 10:31
mxinden added a commit that referenced this pull request Oct 27, 2020
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A0-please_review Pull request needs code review. A4-companion A PR that needs a companion PR to merge in parallel for one of its downstream dependencies. B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants