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(discard): close the discard stats file on db close #1672

Merged
merged 1 commit into from
Feb 24, 2021

Conversation

NamanJain8
Copy link
Contributor

@NamanJain8 NamanJain8 commented Feb 24, 2021

In windows, an unclosed file cannot be removed. Which causes the failure of os.RemoveAll().
See https://discuss.dgraph.io/t/dgraph-takes-all-disk-space-in-windows/12494
Fixes DGRAPH-3002


This change is Reviewable

@NamanJain8 NamanJain8 merged commit ec5b35e into master Feb 24, 2021
@NamanJain8 NamanJain8 deleted the naman/test-windows branch February 24, 2021 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants