-
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
Skip redudant self-reflective edges in GetNeighborsNode #4943
Skip redudant self-reflective edges in GetNeighborsNode #4943
Conversation
82a74a5
to
641f385
Compare
c9f6d45
to
1a4d051
Compare
b313331
to
dac9610
Compare
eb915a8
to
994f428
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.
Good job~ I have some other question, see the issue please.
dd7f12a
to
e02b240
Compare
e02b240
to
78fcf96
Compare
Codecov ReportBase: 76.83% // Head: 76.84% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #4943 +/- ##
==========================================
+ Coverage 76.83% 76.84% +0.01%
==========================================
Files 1101 1101
Lines 81222 81245 +23
==========================================
+ Hits 62404 62435 +31
+ Misses 18818 18810 -8
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
48b6223
to
0c491f0
Compare
0c491f0
to
d846675
Compare
d846675
to
3c2e911
Compare
3c2e911
to
406ff01
Compare
406ff01
to
32b291f
Compare
What type of PR is this?
What problem(s) does this PR solve?
Issue(s) number:
Close #4929
Description:
Duplicated results in matches.
Reason:
(v0)-[e]->(v0)
are stored as two different versions in the storage: the outbound one and the inbound one.How do you solve it?
In the GetNeighborsNode, if an edge fetched from the storage has identical srcID and dstID, check whether it has been visited previously. If so, skip 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: