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-5865. Make read retry interval and attempts in BlockInputStream configurable #6408

Merged
merged 25 commits into from
Mar 21, 2024

Conversation

SaketaChalamchala
Copy link
Contributor

What changes were proposed in this pull request?

Retry policy when reading keys is hardcoded. Made the read retry max attempts and retry interval configurable in client configuration ozone.client.max.read.retries and ozone.client.max.read.retries. Modified InputStream classes to accept client configuration so that read retry policy can be created wherever required.

What is the link to the Apache JIRA

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

How was this patch tested?

Existing UT and integration tests should run as is.

@SaketaChalamchala
Copy link
Contributor Author

@adoroszlai and @ashishkumar50 can you please take a look

Copy link
Contributor

@adoroszlai adoroszlai left a comment

Choose a reason for hiding this comment

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

Thanks a lot @SaketaChalamchala for updating the patch from #6309.

Copy link
Contributor

@adoroszlai adoroszlai left a comment

Choose a reason for hiding this comment

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

Thanks @SaketaChalamchala for updating the patch, LGTM. (Fixed a typo in the config description. Sorry I missed it earlier.)

@adoroszlai adoroszlai changed the title HDDS-5865. Made read retry max attempts and interval configurable and modified InputStream classes to access client configuration. HDDS-5865. Make read retry interval and attempts in BlockInputStream configurable Mar 21, 2024
Copy link
Contributor

@ashishkumar50 ashishkumar50 left a comment

Choose a reason for hiding this comment

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

@SaketaChalamchala Thanks for updating the patch, LGTM.

@adoroszlai adoroszlai merged commit c4dc6a0 into apache:master Mar 21, 2024
37 checks passed
@adoroszlai
Copy link
Contributor

Thanks @SaketaChalamchala for the patch, @ashishkumar50 for the review.

smitajoshi12 pushed a commit to smitajoshi12/ozone that referenced this pull request Mar 27, 2024
swamirishi pushed a commit to swamirishi/ozone that referenced this pull request Jun 10, 2024
…InputStream configurable (apache#6408)

(cherry picked from commit c4dc6a0)
Change-Id: I09e2ec572daf32755ffe17087c38416ec10574db
xichen01 pushed a commit to xichen01/ozone that referenced this pull request Jul 17, 2024
xichen01 pushed a commit to xichen01/ozone that referenced this pull request Jul 17, 2024
xichen01 pushed a commit to xichen01/ozone that referenced this pull request Jul 17, 2024
xichen01 pushed a commit to xichen01/ozone that referenced this pull request Jul 18, 2024
xichen01 pushed a commit to xichen01/ozone that referenced this pull request Jul 18, 2024
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.

3 participants