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(interactive): Prevent persist invalid meta during abnormal shutdown. #3661

Merged
merged 3 commits into from Mar 26, 2024

Conversation

siyuan0322
Copy link
Collaborator

This PR has two optimizations:

  1. Use move after write to temporary file instead of directly write to target file.
  2. If target file is invalid or not exists, try to recover from backup file.

Committed-by: siyuanzhang.zsy from Dev container
@siyuan0322 siyuan0322 merged commit 35ef55f into alibaba:main Mar 26, 2024
22 checks passed
@siyuan0322 siyuan0322 deleted the zsy/meta-recover branch March 26, 2024 09:54
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.

None yet

1 participant