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 UnsupportedOperationException when Block download and add test #5442

Merged
merged 1 commit into from
Sep 25, 2019

Conversation

vhvb1989
Copy link
Member

@vhvb1989 vhvb1989 commented Sep 19, 2019

ByteBuffer streamed from the underlying Flux has a null hb.

  • non-null only for heap buffers.

If we want to continue just using ByteBuffer directly this is fixable by using FluxUtil.byteBufferToArray(bf) which will allocate an array from byteBuffet for heap and non-heap buffers

@vhvb1989 vhvb1989 added the Storage Storage Service (Queues, Blobs, Files) label Sep 19, 2019
@vhvb1989 vhvb1989 self-assigned this Sep 19, 2019
@vhvb1989 vhvb1989 force-pushed the fix/#5236/Adding-uploadFromFile-tests branch 2 times, most recently from 623b9ab to fa547fb Compare September 19, 2019 21:41
@vhvb1989 vhvb1989 force-pushed the fix/#5236/Adding-uploadFromFile-tests branch from fa547fb to 3a47e58 Compare September 19, 2019 22:54
Copy link
Member

@alzimmermsft alzimmermsft left a comment

Choose a reason for hiding this comment

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

Approving pending the channel closed exceptions go away, if not we may want to investigate another solution.

@vhvb1989 vhvb1989 force-pushed the fix/#5236/Adding-uploadFromFile-tests branch 3 times, most recently from c00499d to eb96907 Compare September 20, 2019 14:56
@vhvb1989 vhvb1989 force-pushed the fix/#5236/Adding-uploadFromFile-tests branch from eb96907 to 1b6d477 Compare September 20, 2019 15:38
@vhvb1989 vhvb1989 force-pushed the fix/#5236/Adding-uploadFromFile-tests branch from 1b6d477 to 3a5b858 Compare September 25, 2019 16:05
@vhvb1989 vhvb1989 force-pushed the fix/#5236/Adding-uploadFromFile-tests branch from 3a5b858 to edc745d Compare September 25, 2019 16:44
@vhvb1989 vhvb1989 merged commit 0d4dc77 into master Sep 25, 2019
@vhvb1989 vhvb1989 deleted the fix/#5236/Adding-uploadFromFile-tests branch September 25, 2019 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Storage Storage Service (Queues, Blobs, Files)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants