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

[7.15] Fix AzureBlobStore#convertStreamToByteBuffer chunking in Windows (#78772) #78775

Merged
merged 3 commits into from Oct 7, 2021

Conversation

fcofdez
Copy link
Contributor

@fcofdez fcofdez commented Oct 6, 2021

Backports the following commits to 7.15:

…stic#78772)

Today we are using Math.ceil in order to calculate the number of
chunks in the request. Since we cast the values to a double...
there be dragons. This could cause issues depending on the platform.

This commit uses good old integers to compute the number of parts.
@fcofdez fcofdez merged commit e9933ea into elastic:7.15 Oct 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants