-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 incompatibility imported by https://github.com/vesoft-inc/nebula/pull/4116 #4165
Conversation
src/clients/meta/MetaClient.cpp
Outdated
} | ||
auto resp = std::move(respStatus).value(); | ||
if (resp.get_code() != nebula::cpp2::ErrorCode::SUCCEEDED) { | ||
return Status::Error("Client verified failed: %s", resp.get_error_msg()->c_str()); |
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.
maybe another error message?
What's the problem? |
#4116 This PR causes sdk meta client fail to create connections when if the host address is a follower. |
Do we allow to access follower? |
No, all read/write should be done through the leader. |
Codecov Report
@@ Coverage Diff @@
## master #4165 +/- ##
==========================================
- Coverage 85.08% 84.92% -0.16%
==========================================
Files 1324 1321 -3
Lines 131911 131125 -786
==========================================
- Hits 112236 111362 -874
- Misses 19675 19763 +88
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.
LGTM
* fix issue 4152 (#4158) * Fix optional of multi-match (#4159) * fix optional of multi-match * format Co-authored-by: Sophie <[email protected]> * Fix incompatibility imported by #4116 (#4165) * Add SaveGraphVersionProcessor to separate client version check and version saving * Update error code * Update error code * optimizer path (#4162) * optimizer multi-shortest path * new algorithm * fix error * skip heartbeat for tool (#4177) Co-authored-by: Sophie <[email protected]> * Fix/null pattern expression input (#4180) * Move input rows of Traverse and AppendVertices. * Avoid skip validate pattern expression with aggregate. * Fix case. * Revert "Move input rows of Traverse and AppendVertices." This reverts commit 7fd1d38. Co-authored-by: Sophie <[email protected]> * fix wrong space key after dropping hosts (#4182) Co-authored-by: Sophie <[email protected]> * fix vertex is missing from snapshot (#4189) Co-authored-by: Sophie <[email protected]> * Expression is stateful to store the result of evaluation, so we can't… (#4190) * Expression is stateful to store the result of evaluation, so we can't share it inter threads. * Fix defef nullptr. Co-authored-by: jie.wang <[email protected]> Co-authored-by: kyle.cao <[email protected]> Co-authored-by: Yichen Wang <[email protected]> Co-authored-by: jimingquan <[email protected]> Co-authored-by: Doodle <[email protected]> Co-authored-by: shylock <[email protected]> Co-authored-by: liwenhui-soul <[email protected]>
Add SaveGraphVersionProcessor to separate client version check and version saving
What type of PR is this?
What problem(s) does this PR solve?
Issue(s) number:
Description:
Add SaveGraphVersionProcessor to separate client version check and version saving
How do you solve it?
Special notes for your reviewer, ex. impact of this fix, design document, etc:
Checklist:
Tests:
Affects:
Release notes:
Please confirm whether to be reflected in release notes and how to describe: