-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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 orphaned files in SstFileManager #13015
Conversation
This pull request was exported from Phabricator. Differential Revision: D62590773 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for adding this feature. This is a great addition. Do you mind also add a history entry in the unreleased_history directory.
cc @anand1976 this feels like a better solution to handle the leaking space from a SstFileManager's perspective issue. Compared to the alternative idea we discussed to implement similar things in DestroyDB. WDYT?
This pull request was exported from Phabricator. Differential Revision: D62590773 |
Summary: Pull Request resolved: facebook#13015 `Close()`ing a database now releases tracked files in `SstFileManager`. Previously this space would be leaked until the database was later reopened. Differential Revision: D62590773
8b99c90
to
4ea85b2
Compare
There is a formatter inside of rocksdb repo, you can run |
This pull request was exported from Phabricator. Differential Revision: D62590773 |
Summary: Pull Request resolved: facebook#13015 `Close()`ing a database now releases tracked files in `SstFileManager`. Previously this space would be leaked until the database was later reopened. Differential Revision: D62590773
4ea85b2
to
54f9c5a
Compare
This pull request was exported from Phabricator. Differential Revision: D62590773 |
Summary: Pull Request resolved: facebook#13015 `Close()`ing a database now releases tracked files in `SstFileManager`. Previously this space would be leaked until the database was later reopened. Differential Revision: D62590773
54f9c5a
to
ee42864
Compare
This pull request was exported from Phabricator. Differential Revision: D62590773 |
Summary: Pull Request resolved: facebook#13015 `Close()`ing a database now releases tracked files in `SstFileManager`. Previously this space would be leaked until the database was later reopened. Differential Revision: D62590773
ee42864
to
8040b2c
Compare
This pull request was exported from Phabricator. Differential Revision: D62590773 |
Summary: Pull Request resolved: facebook#13015 `Close()`ing a database now releases tracked files in `SstFileManager`. Previously this space would be leaked until the database was later reopened. Differential Revision: D62590773
8040b2c
to
7a10d08
Compare
This pull request was exported from Phabricator. Differential Revision: D62590773 |
Summary: Pull Request resolved: facebook#13015 `Close()`ing a database now releases tracked files in `SstFileManager`. Previously this space would be leaked until the database was later reopened. Differential Revision: D62590773
7a10d08
to
9875575
Compare
This pull request was exported from Phabricator. Differential Revision: D62590773 |
Summary: Pull Request resolved: facebook#13015 `Close()`ing a database now releases tracked files in `SstFileManager`. Previously this space would be leaked until the database was later reopened. Differential Revision: D62590773
9875575
to
9b5d8a2
Compare
This pull request was exported from Phabricator. Differential Revision: D62590773 |
Summary: Pull Request resolved: facebook#13015 `Close()`ing a database now releases tracked files in `SstFileManager`. Previously this space would be leaked until the database was later reopened. Differential Revision: D62590773
9b5d8a2
to
2daccfb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for adding this change! LGTM
This pull request was exported from Phabricator. Differential Revision: D62590773 |
Summary: Pull Request resolved: facebook#13015 `Close()`ing a database now releases tracked files in `SstFileManager`. Previously this space would be leaked until the database was later reopened. Reviewed By: jowlyzhang Differential Revision: D62590773
2daccfb
to
ca008a6
Compare
Summary: Pull Request resolved: facebook#13015 `Close()`ing a database now releases tracked files in `SstFileManager`. Previously this space would be leaked until the database was later reopened. Reviewed By: jowlyzhang Differential Revision: D62590773
This pull request was exported from Phabricator. Differential Revision: D62590773 |
ca008a6
to
a0ec4c0
Compare
This pull request has been merged in 0611eb5. |
Summary:
Close()
ing a database now releases tracked files inSstFileManager
. Previously this space would be leaked until the database was later reopened.Differential Revision: D62590773