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

[Bug]: Orphan files clean mistakenly deleted the Iceberg statistic file #1959

Closed
2 tasks done
Tracked by #1930
wangtaohz opened this issue Sep 12, 2023 · 0 comments · Fixed by #1961
Closed
2 tasks done
Tracked by #1930

[Bug]: Orphan files clean mistakenly deleted the Iceberg statistic file #1959

wangtaohz opened this issue Sep 12, 2023 · 0 comments · Fixed by #1961
Labels
type:bug Something isn't working

Comments

@wangtaohz
Copy link
Contributor

What happened?

When orphan-files-clean service clean the metadata files, it mistakenly deleted the Iceberg statistic file.

Affects Versions

0.5.0

What engines are you seeing the problem on?

AMS

How to reproduce

1.create an iceberg format table
2.create a snapshot and write a statistic file to the table
3.open orphan files clean service of the table
4.after clean orphan files, the statistic file will be deleted from the file system

Relevant log output

No response

Anything else

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

  • I agree to follow this project's Code of Conduct
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant