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
ISSUE-3605: Replace arrow flight with gRPC #3606
ISSUE-3605: Replace arrow flight with gRPC #3606
Conversation
Thanks for the contribution! Please review the labels and make any necessary changes. |
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/databend/databend/EkBEd7STmjW79WZYdpyTic3Ld177 [Deployment for d4e6cec canceled] |
f3dd6f6
to
69365ca
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not bad~
This pull request has merge conflicts that must be resolved before it can be merged. @ariesdevil please rebase it 🙏 |
65a82e6
to
85776b9
Compare
Codecov Report
@@ Coverage Diff @@
## main #3606 +/- ##
======================================
Coverage 60% 60%
======================================
Files 706 707 +1
Lines 37901 38003 +102
======================================
+ Hits 22806 22891 +85
- Misses 15095 15112 +17
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks gorgeous to me
|
||
// message | ||
rpc WriteMsg(RaftRequest) returns (RaftReply); | ||
rpc ReadMsg(GetReq) returns (GetReply); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rename GetReq
to GetRequest
in next PR? 🤔
let body = self.action_handler.execute_read(action).await?; | ||
let r = GetReply { | ||
ok: true, | ||
key: "".to_string(), | ||
value: body, | ||
}; | ||
Ok(Response::new(r)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If key
is not used at all, we could refine GetReply
in next PR. :DDD
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice fix up
CI Passed |
I hereby agree to the terms of the CLA available at: https://databend.rs/dev/policies/cla/
Summary
Replace arrow flight with gRPC
Changelog
Related Issues
Fixes #3605
Test Plan
Unit Tests
Stateless Tests