Skip to content

Commit

Permalink
cherry pick from nebula: fix traverse build path memory tracker (veso…
Browse files Browse the repository at this point in the history
…ft-inc#5619) (vesoft-inc#2880)

fix traverse build path memory tracker (vesoft-inc#5619)

Co-authored-by: jimingquan <mingquan.ji@vesoft.com>
  • Loading branch information
Sophie-Xie and nevermore3 committed Jul 3, 2023
1 parent 763a59b commit 38a829c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/graph/executor/query/TraverseExecutor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -480,6 +480,7 @@ folly::Future<Status> TraverseExecutor::buildPathMultiJobs(size_t minStep, size_
std::vector<Row> TraverseExecutor::buildPath(const Value& initVertex,
size_t minStep,
size_t maxStep) {
memory::MemoryCheckGuard guard;
auto vidIter = adjList_.find(initVertex);
if (vidIter == adjList_.end()) {
return std::vector<Row>();
Expand Down

0 comments on commit 38a829c

Please sign in to comment.