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

fix traverse build path memory tracker #5619

Merged

Conversation

nevermore3
Copy link
Contributor

@nevermore3 nevermore3 commented Jul 3, 2023

What type of PR is this?

  • bug
  • feature
  • enhancement

What problem(s) does this PR solve?

Issue(s) number:

#5615

Description:

before
image

now
image

(root@nebula) [nba]> match (a:player)-[*0..9]->(b) return count(b)
[ERROR (-1005)]: GraphMemoryExceeded: (-2600)

Mon, 03 Jul 2023 10:42:45 CST

memory can be monitored now

How do you solve it?

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

Checklist:

Tests:

  • Unit test(positive and negative cases)
  • Function test
  • Performance test
  • N/A

Affects:

  • Documentation affected (Please add the label if documentation needs to be modified.)
  • Incompatibility (If it breaks the compatibility, please describe it and add the label.)
  • If it's needed to cherry-pick (If cherry-pick to some branches is required, please label the destination version(s).)
  • Performance impacted: Consumes more CPU/Memory

Release notes:

Please confirm whether to be reflected in release notes and how to describe:

ex. Fixed the bug .....

@nevermore3 nevermore3 added ready-for-testing PR: ready for the CI test ready for review labels Jul 3, 2023
@nevermore3 nevermore3 added the type/bug Type: something is unexpected label Jul 3, 2023
@codesigner
Copy link
Contributor

this patch need pick into 3.5 @Sophie-Xie

@Sophie-Xie
Copy link
Contributor

this patch need pick into 3.5 @Sophie-Xie

fix this one? #5615

@codecov-commenter
Copy link

Codecov Report

Patch coverage: 100.00% and project coverage change: +1.23 🎉

Comparison is base (c113ffa) 77.03% compared to head (e6957fb) 78.27%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5619      +/-   ##
==========================================
+ Coverage   77.03%   78.27%   +1.23%     
==========================================
  Files        1130     1130              
  Lines       85341    85346       +5     
==========================================
+ Hits        65744    66802    +1058     
+ Misses      19597    18544    -1053     
Impacted Files Coverage Δ
src/graph/executor/query/TraverseExecutor.cpp 87.32% <100.00%> (+0.02%) ⬆️

... and 88 files with indirect coverage changes

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

@Sophie-Xie Sophie-Xie merged commit e469b32 into vesoft-inc:master Jul 3, 2023
4 of 7 checks passed
@nevermore3 nevermore3 deleted the fix_traverse_memory_tracker branch July 3, 2023 05:34
@codesigner
Copy link
Contributor

this patch need pick into 3.5 @Sophie-Xie

fix this one? #5615

YES

@nevermore3 nevermore3 mentioned this pull request Jul 17, 2023
Sophie-Xie added a commit that referenced this pull request Jul 20, 2023
* fix traverse build path memory tracker (#5619)

* Optimize the write performance when host is down (#5571)

* Optimize the write performance when host is down

* fix the comments

---------

Co-authored-by: Sophie <84560950+Sophie-Xie@users.noreply.github.com>

* Fix too many logs print when listing sessions (#5618)

* Set min_level_for_custom_filter as 0 by default to delete expired d… (#5622)

Reset min_level_for_custom_filter as 0 by default to delete expired data during compaction

* Revert "Revert "Change ccache to sccache"" (#5623)

* Revert "Revert "Change ccache to sccache" (#5613)"

This reverts commit 08a5d90.

* Update pull_request.yml

* Revert  "Change ccache to sccache" (#5627)

Revert "Revert "Revert "Change ccache to sccache"" (#5623)"

This reverts commit c1b433d.

* fix all path memory tracker (#5621)

* fix all path memory tracker

* fix error

* Update pull_request.yml

enable sccache debug log

* Update pull_request.yml

add ninja -v

* Update pull_request.yml

* Update pull_request.yml

* Update pull_request.yml

* Update pull_request.yml

---------

Co-authored-by: George <58841610+Shinji-IkariG@users.noreply.github.com>
Co-authored-by: Sophie <84560950+Sophie-Xie@users.noreply.github.com>

* Fix edge all predicate embedding when generating path (#5631)

* Fix edge all predicate embedding when generate path

* fmt

* Enhancement/eliminate invalid filter (#5634)

* Fix crash double free of expr.

* Change issue id.

* Elimintate invalid property filter.

* support find circular (#5636)

Co-authored-by: Sophie <84560950+Sophie-Xie@users.noreply.github.com>

* fix allpath memory tracker (#5640)

fix allpath memory traker

* fix_delete_validate (#5645)

add test case

---------

Co-authored-by: jimingquan <mingquan.ji@vesoft.com>
Co-authored-by: Ryan <ydlu1987@gmail.com>
Co-authored-by: Songqing Zhang <zhangsongqing164@163.com>
Co-authored-by: George <58841610+Shinji-IkariG@users.noreply.github.com>
Co-authored-by: kyle.cao <kyle.cao@vesoft.com>
Co-authored-by: shylock <33566796+Shylock-Hg@users.noreply.github.com>
yixinglu pushed a commit to yixinglu/nebula that referenced this pull request Sep 14, 2023
…ft-inc#5619) (vesoft-inc#2880)

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

Co-authored-by: jimingquan <mingquan.ji@vesoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants