Skip to content

s3-becnhmarks - Change NoopTransformer type-param to Object #5112

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

Merged
merged 1 commit into from
Apr 17, 2024

Conversation

L-Applin
Copy link
Contributor

Transfer Manager Benchmarks that download to memory with java-based client would hang because the result of the future in NoOpResponseTransformer is set to null. Eventually, this null reaches the CompletedFileDownload constructor which assert that it must not be null. It is called from the generic transfer manager code path

Motivation and Context

During java-based performance benchmarks, I notice some of the benchmarks would hang and not complete. This is the root cause of it.

We also need to spend a little bit more time investigating how it impacts the java-based client, and if this is a bug that must be fixed in there too.

Modifications

We now complete the future with a new Object instance.

Testing

Ran the benchmarks with the change, they completed successfully

@L-Applin L-Applin requested a review from a team as a code owner April 17, 2024 17:07
@L-Applin L-Applin merged commit 330ab9f into feature/master/s3mpu Apr 17, 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.

2 participants