Skip to content

Conversation

@aryangupta1998
Copy link
Contributor

@aryangupta1998 aryangupta1998 commented Nov 9, 2025

What changes were proposed in this pull request?

In DirectoryDeletingService, when submitting the request to 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.
Also, we should process the number of directories to be deleted based on the number specified by the config(ozone.path.deleting.limit.per.task).

What is the link to the Apache JIRA

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

How was this patch tested?

Tested Manually(via UT).

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.

thanks for the patch @aryangupta1998 left some review comments inline

@swamirishi swamirishi marked this pull request as draft November 10, 2025 02:19
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.

left more review comments

@aryangupta1998 aryangupta1998 marked this pull request as ready for review November 10, 2025 17:33
@swamirishi
Copy link
Contributor

@yandrey321 do you review the patch?

@aryangupta1998 aryangupta1998 changed the title HDDS-13844. Decouple delete batch limits from Ratis request size for DirectoryDeletingService. HDDS-13844. Decouple DirectoryDeletingService delete batching from Ratis request size. Nov 10, 2025
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.

LGTM

@adoroszlai
Copy link
Contributor

change this number to 20000 and we can merge this issue
LGTM

If the patch needs to be updated before merge, then please don't approve, since it's confusing.

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.

LGTM @aryangupta1998 thanks for the patch

@swamirishi swamirishi merged commit 63ee00d into apache:master Nov 20, 2025
43 checks passed
jojochuang pushed a commit to jojochuang/ozone that referenced this pull request Dec 5, 2025
…tis request size. (apache#9270)

(cherry picked from commit 63ee00d)

 Conflicts:
	hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/service/DirectoryDeletingService.java

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