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

Flush config file to disk before starting Restate process #2863

Merged
merged 1 commit into from
Mar 10, 2025

Conversation

tillrohrmann
Copy link
Contributor

Dropping the file alone, does not guarantee that the file content is written to disk and the file being closed immediately. If the config file is not written when starting the Restate process, then it will start with the default configuration which causes the raft_metadata_cluster_chaos_test to fail every now and then.

This fixes #2828.

Dropping the file alone, does not guarantee that the file content is
written to disk and the file being closed immediately. If the config
file is not written when starting the Restate process, then it will
start with the default configuration which causes the raft_metadata_cluster_chaos_test
to fail every now and then.

This fixes restatedev#2828.
@tillrohrmann tillrohrmann merged commit ce72e47 into restatedev:main Mar 10, 2025
4 of 5 checks passed
@tillrohrmann tillrohrmann deleted the issues/2828 branch March 10, 2025 08:39
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.

Harde restate-server::raft_metadata_cluster raft_metadata_cluster_chaos_test
2 participants