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

fix: Also archive config.txt as part of network archiving process #18427

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

mhess-swl
Copy link
Contributor

@mhess-swl mhess-swl commented Mar 20, 2025

In cases where forceUseOfConfigAddressBook is still enabled, the config.txt file must be archived in order to avoid an ISS on node restarts. This PR fulfills this requirement via moving config.txt from the node's working directory to the data/config/.archive directory with the other archived network files.

Closes #18270

Signed-off-by: Matt Hess <matt.hess@swirldslabs.com>
@mhess-swl mhess-swl self-assigned this Mar 20, 2025
@mhess-swl mhess-swl requested a review from a team as a code owner March 20, 2025 17:17
@mhess-swl mhess-swl added this to the v0.61 milestone Mar 20, 2025
@mhess-swl mhess-swl changed the title Also archive config.txt as part of network archiving process fix: Also archive config.txt as part of network archiving process Mar 20, 2025
Signed-off-by: Matt Hess <matt.hess@swirldslabs.com>
Signed-off-by: Matt Hess <matt.hess@swirldslabs.com>
Copy link
Contributor

@Neeharika-Sompalli Neeharika-Sompalli left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks @mhess-swl. Please validate that the error no more exists with the test you were doing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Archive config.txt after loading from disk
2 participants