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

Change transport to header transport #249

Merged
merged 1 commit into from
Feb 6, 2023

Conversation

Aiee
Copy link
Contributor

@Aiee Aiee commented Feb 3, 2023

What type of PR is this?

  • bug
  • feature
  • enhancement

What problem(s) does this PR solve?

Issue(s) number:

Address vesoft-inc/nebula#5191

Description:

Still need to test with sf100 dataset

UPDAET:
tested query "use sf100;lookup on Person yield id(vertex) as vid | limit 500000 | go from $-.vid over LIKES yield distinct LIKES._src as src, LIKES._dst as dst" with sf100 and the error BigFrames not supported: got size 1112098630 was returned.

How do you solve it?

Special notes for your reviewer, ex. impact of this fix, design document, etc:

Note that here I warp the buffered transport with the header transport, because if use only the header transport, TestReconnect will fail.

When sending the query to an unavailable server, BufferedTransport returns thrift.END_OF_FILE while HeaderTransport returns thrift.UNKNOWN_TRANSPORT_EXCEPTION. Not sure if this is expected.

@Aiee Aiee force-pushed the update-transport branch from 49b0af2 to e191cf3 Compare February 3, 2023 19:44
@codecov-commenter
Copy link

codecov-commenter commented Feb 3, 2023

Codecov Report

Base: 62.64% // Head: 62.64% // No change to project coverage 👍

Coverage data is based on head (e191cf3) compared to base (f38f53c).
Patch coverage: 100.00% of modified lines in pull request are covered.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #249   +/-   ##
=======================================
  Coverage   62.64%   62.64%           
=======================================
  Files           9        9           
  Lines        2230     2230           
=======================================
  Hits         1397     1397           
  Misses        693      693           
  Partials      140      140           
Impacted Files Coverage Δ
connection.go 63.26% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@Aiee Aiee requested review from HarrisChu and veezhang February 3, 2023 19:49
@Aiee Aiee merged commit cc22333 into vesoft-inc:master Feb 6, 2023
@Aiee Aiee deleted the update-transport branch February 6, 2023 03:37
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.

3 participants