Skip to content

Conversation

@smengcl
Copy link
Contributor

@smengcl smengcl commented May 4, 2023

What changes were proposed in this pull request?

Similar to what is done to deletedTable in HDDS-7741 (#4280), clean up entries in deletedDirectoryTable that are in the snapshot scope during snapshot creation.

  • Implemented deletedDirectoryTable clean up logic.
  • Refactored deletedTable clean up code.

What is the link to the Apache JIRA

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

How was this patch tested?

  • Added corresponding test in TestOMSnapshotCreateResponse.

@smengcl smengcl added the snapshot https://issues.apache.org/jira/browse/HDDS-6517 label May 4, 2023
@smengcl smengcl requested a review from aswinshakil May 4, 2023 07:52
Copy link
Member

@aswinshakil aswinshakil left a comment

Choose a reason for hiding this comment

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

Thanks for the quick patch @smengcl. Overall LGTM. Just have a few comments.

Copy link
Contributor

@prashantpogde prashantpogde left a comment

Choose a reason for hiding this comment

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

Thanks for the patch @smengcl. The changes look good overall.

@smengcl
Copy link
Contributor Author

smengcl commented May 9, 2023

Thanks @aswinshakil and @prashantpogde for reviewing this.

@smengcl smengcl merged commit 71087dd into apache:master May 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

snapshot https://issues.apache.org/jira/browse/HDDS-6517

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants