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

ARROW-13253: [FlightRPC][C++] Fix segfault with large messages #10663

Closed
wants to merge 8 commits into from

Conversation

lidavidm
Copy link
Member

@lidavidm lidavidm commented Jul 6, 2021

We can't report errors during serialization - gRPC will just trip an assert. Instead, move these checks into the layer above so we can report them to the client or server as appropriate.

@github-actions
Copy link

github-actions bot commented Jul 6, 2021

@lidavidm lidavidm marked this pull request as draft July 6, 2021 18:11
@lidavidm lidavidm marked this pull request as ready for review July 8, 2021 13:22
@lidavidm
Copy link
Member Author

@cyb70289, might you have time to look at this?

@dianaclarke
Copy link
Contributor

@ursabot please benchmark

@ursabot
Copy link

ursabot commented Jul 14, 2021

Benchmark runs are scheduled for baseline = 780e95c and contender = 64ecb2a. Results will be available as each benchmark for each run completes.
Conbench compare runs links:
[Finished ⬇️0.0% ⬆️0.0%] ec2-t3-xlarge-us-east-2 (mimalloc)
[Finished ⬇️0.0% ⬆️0.0%] ursa-i9-9960x (mimalloc)
[Finished ⬇️0.24% ⬆️0.05%] ursa-thinkcentre-m75q (mimalloc)
Supported benchmarks:
ursa-i9-9960x: langs = Python, R
ursa-thinkcentre-m75q: langs = C++, Java
ec2-t3-xlarge-us-east-2: cloud = True

cpp/src/arrow/flight/client.cc Outdated Show resolved Hide resolved
cpp/src/arrow/flight/serialization_internal.cc Outdated Show resolved Hide resolved
Copy link
Contributor

@cyb70289 cyb70289 left a comment

Choose a reason for hiding this comment

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

+1.

Some small comments.

cpp/src/arrow/flight/test_util.cc Show resolved Hide resolved
cpp/src/arrow/flight/types.cc Show resolved Hide resolved
@cyb70289 cyb70289 closed this in b1f90c4 Jul 15, 2021
@lidavidm
Copy link
Member Author

Thanks for the review! 🙂

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

4 participants