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

HDDS-4495. [FSO]Delete : Implement async cleanup of garbage and orphan sub-dirs/files #2093

Merged
merged 5 commits into from
Apr 6, 2021

Conversation

rakeshadr
Copy link
Contributor

@rakeshadr rakeshadr commented Mar 29, 2021

What changes were proposed in this pull request?

Implements a service to get the pending orphan directories and clean up its sub-paths(subdirs and subfiles). Sub-files will be added to existing KeyDeletinService where it will ask scm to clean its blocks, is any.

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-4495

How was this patch tested?

Added a few cases, will add more cases to it.

Raised followup jira to verify KDS HDDS-5042

Copy link
Contributor

@linyiqun linyiqun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Haven't taken a deep review for this, but some minor comments below.

@rakeshadr
Copy link
Contributor Author

Thanks again @linyiqun for the review comments. I've updated PR by addressing the comments.

Copy link
Contributor

@linyiqun linyiqun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, +1.
Thanks for addressing the review comments!

@rakeshadr
Copy link
Contributor Author

Thanks a lot @linyiqun, I will merge it.

@rakeshadr rakeshadr merged this pull request into apache:HDDS-2939 Apr 6, 2021
rakeshadr added a commit that referenced this pull request Apr 7, 2021
rakeshadr added a commit that referenced this pull request Apr 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants