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

Fix read exception when the range size ...; Port [#18613] to branch-2.10 #18614

Merged
merged 1 commit into from
May 27, 2024

Conversation

alluxio-bot
Copy link
Contributor

What changes are proposed in this pull request?

Add the copy() for RetryPolicy, so it can be used in some situations where the RetryPolicy needs to be reused.

Why are the changes needed?

For OSSInputStream or other stream, it needs to call createStream() more than once in some cases, it should not use the same RetryPolicy instance in multiple different calls of createStream().

Does this PR introduce any user facing changes?

None

[This is an auto-generated PR to cherry-pick committed PR #18613 into target branch branch-2.10]

### What changes are proposed in this pull request?

Add the copy() for RetryPolicy, so it can be used in some situations where the RetryPolicy needs to be reused.

### Why are the changes needed?
For OSSInputStream or other stream, it needs to call createStream() more than once in some cases, it should not use the same RetryPolicy instance in multiple different calls of createStream().

### Does this PR introduce any user facing changes?
None

			pr-link: #18613
			change-id: cid-e0d5a80304ced99e28114bbbad886b4abb934408
@Jackson-Wang-7
Copy link
Contributor

alluxio-bot, merge this please

@alluxio-bot alluxio-bot merged commit ff207bd into branch-2.10 May 27, 2024
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug This issue is about a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants