Skip to content

Conversation

@ziqonghuang
Copy link
Contributor

@ziqonghuang ziqonghuang commented Dec 30, 2025

In the previous code, when starting the cluster, fs_dir::new would call create_tree to restore the directory tree. Afterwards, journal replay would restore the directory tree again. If the previous snapshot contains hardlink, fs_dir::unprotected_link detects that the file already exists and throws an error.

@ziqonghuang ziqonghuang changed the title fix:avoid duplicate tree recovery fix: avoid duplicate tree recovery Dec 30, 2025
@szbr9486
Copy link
Contributor

_ No description provided. 未提供描述。_

Could you describe the detail info of the bug that this pr will to fix?

@szbr9486 szbr9486 merged commit b8f0ccb into CurvineIO:main Dec 30, 2025
4 of 5 checks passed
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.

2 participants