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

[ASI-836] [CN] Add reconfigNodewhitelist envvar & consume in reconfig #2447

Merged
merged 44 commits into from
Apr 6, 2022

Conversation

SidSethi
Copy link
Contributor

@SidSethi SidSethi commented Feb 7, 2022

Description

Adds reconfigNoteWhitelist config var to content node, defaulted to none
This config var piggy back's off libs CreatorNodeSelection logic, which already exposed a whitelist param
Consumes var in snapback stateMachineQueue to allow whitelisting of reconfig node selection
Also adds unit test of CreatorNodeSelection whitelist flag

Tests

libs CreatorNodeSelection unit test coverage of whitelist param
Mad-dog base run confirms stateMachineQueue logic works when whitelist is not provided
Manually confirmed that whitelist works when values provided

Note - for now, i enabled logging for the CreatorNodeSelection (in CN only), i think it's reasonable to leave this on for a bit and disable later

How will this change be monitored? Are there sufficient logs?

Look for CreatorNodeSelection - final decision tree state logs in CN to ensure whitelist logic is working correctly

@SidSethi SidSethi changed the title [CN] Add reconfigNodewhitelist envvar & consume in reconfig [ASI-836] [CN] Add reconfigNodewhitelist envvar & consume in reconfig Feb 7, 2022
@pull-request-size pull-request-size bot added size/M and removed size/S labels Mar 19, 2022
@SidSethi SidSethi changed the base branch from master to ss-reconfig-fixes-v2 April 6, 2022 19:56
Base automatically changed from ss-reconfig-fixes-v2 to master April 6, 2022 21:46
@pull-request-size pull-request-size bot added size/XL and removed size/M labels Apr 6, 2022
@pull-request-size pull-request-size bot added size/M and removed size/XL labels Apr 6, 2022
@SidSethi SidSethi merged commit 85cc8c0 into master Apr 6, 2022
@SidSethi SidSethi deleted the ss-reconfig-whitelist branch April 6, 2022 21:51
@AudiusProject AudiusProject deleted a comment from linear bot Sep 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants