Skip to content

Conversation

@aryangupta1998
Copy link
Contributor

@aryangupta1998 aryangupta1998 commented Jul 29, 2025

What changes were proposed in this pull request?

In KeyDeletingService, when submitting the request to SCM and OM for further processing, we should check if the request exceeds the default rate limit (32 MB). If it does, we should break the request accordingly.

What is the link to the Apache JIRA

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

How was this patch tested?

Unit test (Aid from Gemini)

@ashishkumar50
Copy link
Contributor

@swamirishi Can you please help to review this patch.

Copy link
Contributor

@sumitagrawl sumitagrawl left a comment

Choose a reason for hiding this comment

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

@aryangupta1998 Thanks for working over this, given few comments. Additionally, check consistency if one batch success, other fails.

Copy link
Contributor

@swamirishi swamirishi left a comment

Choose a reason for hiding this comment

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

@aryangupta1998 thanks for the patch. I have left a few review comments inline

Copy link
Contributor

@sumitagrawl sumitagrawl left a comment

Choose a reason for hiding this comment

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

@aryangupta1998 given few more commens

Copy link
Contributor

@sumitagrawl sumitagrawl left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@swamirishi swamirishi left a comment

Choose a reason for hiding this comment

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

@aryangupta1998 thanks for updating the patch I have left more minor review comments inline please check

Copy link
Contributor

@swamirishi swamirishi left a comment

Choose a reason for hiding this comment

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

Have few nitpicky changes.

Copy link
Contributor

@swamirishi swamirishi left a comment

Choose a reason for hiding this comment

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

@aryangupta1998 thanks for the patch and promptly addressing all the review comments LGTM.

@swamirishi swamirishi merged commit fbc393d into apache:master Aug 25, 2025
81 of 82 checks passed
@swamirishi
Copy link
Contributor

@sadanand48 I have merged this PR if you have any more review comments. Let us do it in another PR.

swamirishi pushed a commit to swamirishi/ozone that referenced this pull request Dec 3, 2025
…st size for KeyDeletingService. (apache#8874)

Co-authored-by: Aryan Gupta <[email protected]>
(cherry picked from commit fbc393d)

 Conflicts:
	hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/scm/protocolPB/ScmBlockLocationProtocolClientSideTranslatorPB.java
	hadoop-ozone/ozone-manager/src/test/java/org/apache/hadoop/ozone/om/service/TestKeyDeletingService.java

Change-Id: Ieaa2ba9e85f4b90e4b4de70a0a21722ef54e0493
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