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] Cleanup unreferenced files when any operation failed due to disk full. #12054

Open
RS146BIJAY opened this issue Jan 29, 2024 · 3 comments
Assignees
Labels
bug Something isn't working Storage Issues and PRs relating to data and metadata storage

Comments

@RS146BIJAY
Copy link
Contributor

RS146BIJAY commented Jan 29, 2024

Describe the bug

As of now, we cleanup unreferenced files whenever last write is performed by merge and it caused disk to get full and shard to fail. Incase some other operation performs the last write and caused disk to get 100% full and a merge is ongoing, merge will just get aborted and no cleanup will be performed. Since when closing the shard it is the other operation causing disk full and not segment merge.

Related component

Storage

To Reproduce

There is no specific way in which we can reproduce this issue. Got to know about this from a flaky test case. In order to specifically reproduce this, we need some way to allow the merge and some other operation to happen in parallel. It should be the other operation (other than merge) which should cause disk to go 100% full.

Expected behavior

Cleanup unreferenced files when any operation failed due to disk full.

Additional Details

No response

@RS146BIJAY RS146BIJAY added bug Something isn't working untriaged labels Jan 29, 2024
@github-actions github-actions bot added the Storage Issues and PRs relating to data and metadata storage label Jan 29, 2024
@peternied
Copy link
Member

[Triage - attendees 1 2 3 4 5 6 7 8]
@RS146BIJAY Thanks for filing, we'd gladly review a pull request to address this issue.

@RS146BIJAY
Copy link
Contributor Author

Raised PR for this change: #12128

@shourya035
Copy link
Member

@RS146BIJAY Feel free to close this issue or re-raise the PR if you are still working on this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Storage Issues and PRs relating to data and metadata storage
Projects
Status: 🏗 In progress
Development

No branches or pull requests

4 participants