Skip to content

Conversation

@kaijchen
Copy link
Member

@kaijchen kaijchen commented Mar 24, 2022

What changes were proposed in this pull request?

Support FSO bucket in OMOpenKeysDeleteRequest and Response.

  1. Migrate to the new OpenKeyBucket proto changed in HDDS-6491.
  2. Change OMOpenKeysDeleteRequest/Response to support deleting keys in OpenFileTable.

What is the link to the Apache JIRA

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

How was this patch tested?

Unit tests.

@kaijchen kaijchen marked this pull request as draft March 24, 2022 07:21
@kaijchen kaijchen marked this pull request as ready for review March 24, 2022 08:33
@captainzmc captainzmc requested a review from errose28 March 24, 2022 13:21
@kaijchen kaijchen changed the title HDDS-6476. Support FSO bucket in OMOpenKeysDeleteRequest and Response HDDS-6476. Support FSO in OMOpenKeysDeleteRequest and Response Apr 6, 2022
@rakeshadr
Copy link
Contributor

Thanks @kaijchen for the patch. Could you please rebase this patch on latest code base, it shows conflicts in my repo as #3248 has changed the constructor.

@kaijchen
Copy link
Member Author

kaijchen commented Apr 6, 2022

Thanks @rakeshadr for the review. I have rebased it to master.

I'm thinking of handling legacy keys and FSO keys in different requests.

EDIT: Yes we can improve it since HDDS-6523 has been merged.

@kaijchen kaijchen force-pushed the HDDS-6476 branch 2 times, most recently from a3501e4 to 3f18975 Compare April 19, 2022 02:53
@kaijchen
Copy link
Member Author

Since HDDS-6556 is still under discussion, let's keep pushing open key cleanup service forward.
I have reworked the code to process one type of bucket at a time.
@rakeshadr @errose28 please take another look, thanks.

@kerneltime
Copy link
Contributor

LGTM

Copy link
Contributor

@errose28 errose28 left a comment

Choose a reason for hiding this comment

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

Thanks @kaijchen mostly LGTM. I think we should finish #3226 then merge master back to this PR for the updates.

@kaijchen
Copy link
Member Author

I have updated this PR since HDDS-6491 has been merged, please take another look @errose28 @rakeshadr @captainzmc.

Copy link
Member

@captainzmc captainzmc left a comment

Choose a reason for hiding this comment

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

+1 the change looks good.

@captainzmc
Copy link
Member

Thanks @kaijchen for the patch and thanks @errose28 @rakeshadr @kerneltime for the review. Let's merge this and keep pushing open key cleanup service forward.

@captainzmc captainzmc merged commit 377be96 into apache:master May 24, 2022
@kaijchen
Copy link
Member Author

Thanks @captainzmc @errose28 @rakeshadr for the review.

@kaijchen kaijchen deleted the HDDS-6476 branch May 24, 2022 07:34
kaijchen added a commit to kaijchen/ozone that referenced this pull request Jun 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants