-
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 the error when vertex/edge not exist if update. #2025
Fix the error when vertex/edge not exist if update. #2025
Conversation
FilterResult UpdateEdgeProcessor::checkFilter(const PartitionID partId, | ||
const cpp2::EdgeKey& edgeKey) { | ||
cpp2::ErrorCode UpdateEdgeProcessor::checkFilter(const PartitionID partId, | ||
const cpp2::EdgeKey& edgeKey) { |
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.
alignment
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.
Thanks.
@@ -70,7 +70,7 @@ class UpdateVertexProcessor | |||
std::unordered_map<TagID, std::unique_ptr<KeyUpdaterPair>> tagUpdaters_; | |||
meta::IndexManager* indexMan_{nullptr}; | |||
std::vector<std::shared_ptr<nebula::cpp2::IndexItem>> indexes_; | |||
std::atomic<FilterResult> filterResult_{FilterResult::E_ERROR}; | |||
std::atomic<cpp2::ErrorCode> filterResult_{cpp2::ErrorCode::SUCCEEDED}; |
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.
alignment
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.
Reach the line length limit.
@@ -68,7 +68,7 @@ class UpdateEdgeProcessor | |||
std::unique_ptr<RowUpdater> updater_; | |||
meta::IndexManager* indexMan_{nullptr}; | |||
std::vector<std::shared_ptr<nebula::cpp2::IndexItem>> indexes_; | |||
std::atomic<FilterResult> filterResult_{FilterResult::E_ERROR}; | |||
std::atomic<cpp2::ErrorCode> filterResult_{cpp2::ErrorCode::SUCCEEDED}; |
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.
alignment
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.
Reach the line length limit.
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 the error when vertex/edge not exist if update. * Optimize the atomic error logical. * Fix one alignment. Co-authored-by: dutor <440396+dutor@users.noreply.github.com> (cherry picked from commit 9fc4e7f)
* remove bigint because we dont support it (#2031) Co-authored-by: dutor <440396+dutor@users.noreply.github.com> (cherry picked from commit 3423df1) * fix crash (#2042) Co-authored-by: dutor <440396+dutor@users.noreply.github.com> (cherry picked from commit eea7407) * Sampling apply to all edges starting from a vertex. (#2013) * Sampling from all edges. * Update test for sampling multi edges. * Testing both inbound and outbound. * Fix clang compiling problem. * Update the sampling. Co-authored-by: dutor <440396+dutor@users.noreply.github.com> (cherry picked from commit 8810ecc) * Fix the error when vertex/edge not exist if update. (#2025) * Fix the error when vertex/edge not exist if update. * Optimize the atomic error logical. * Fix one alignment. Co-authored-by: dutor <440396+dutor@users.noreply.github.com> (cherry picked from commit 9fc4e7f) * Correct issue 2009 which the timestamp default value for edge not treat. (#2038) * Correct issue 2009 which the timestamp default value for edge not treat. * Add the cover cases. * Fix one typo. Co-authored-by: dutor <440396+dutor@users.noreply.github.com> (cherry picked from commit 4aa9217) Co-authored-by: flyingcat <1004815462@qq.com> Co-authored-by: laura-ding <48548375+laura-ding@users.noreply.github.com> Co-authored-by: CPWstatic <13495049+CPWstatic@users.noreply.github.com> Co-authored-by: Shylock Hg <33566796+Shylock-Hg@users.noreply.github.com>
* Fix the error when vertex/edge not exist if update. * Optimize the atomic error logical. * Fix one alignment. Co-authored-by: dutor <440396+dutor@users.noreply.github.com>
* memory tracker * refine code * refine code * add check * fix sanitize * add check * fix build * fix build * fix sanitize issues * minor, delete debug log * storage add memmory tracker * add more check & add memory stats log flag * fix lint & memory monitor name in storaged * refine catch in scheduler * move try catch on stack up in Storage's processors * remove unused include * fix build * add jemalloc compile flag & MemTracker is use only when jemalloc is avalable, depends on jemalloc to get accurate free size * add memory track in LookupProcessor.cpp * refine code * fix lint * fix build Co-authored-by: Sophie <84560950+Sophie-Xie@users.noreply.github.com> Co-authored-by: codesigner <codesigner.huang@vesoft.com> Co-authored-by: Sophie <84560950+Sophie-Xie@users.noreply.github.com>
What changes were proposed in this pull request?
Why are the changes needed?
Does this PR introduce any user-facing change?
How was this patch tested?