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 ring assert error and handle two A->B not ring #939

Merged
merged 1 commit into from
Apr 10, 2020
Merged

Conversation

zhoney
Copy link
Contributor

@zhoney zhoney commented Apr 10, 2020

Change-Id: Iaff8c4f16e34eb12f0fed2b33487735f783ae0ec

Change-Id: Iaff8c4f16e34eb12f0fed2b33487735f783ae0ec
@codecov
Copy link

codecov bot commented Apr 10, 2020

Codecov Report

Merging #939 into master will increase coverage by 0.22%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #939      +/-   ##
============================================
+ Coverage     71.73%   71.95%   +0.22%     
- Complexity     4648     4674      +26     
============================================
  Files           298      298              
  Lines         22317    22317              
  Branches       3157     3157              
============================================
+ Hits          16009    16059      +50     
+ Misses         4741     4697      -44     
+ Partials       1567     1561       -6     
Impacted Files Coverage Δ Complexity Δ
...graph/backend/store/cassandra/CassandraTables.java 87.86% <0.00%> (+0.29%) 1.00% <0.00%> (ø%)
...egraph/backend/store/cassandra/CassandraStore.java 66.19% <0.00%> (+0.35%) 49.00% <0.00%> (+1.00%)
.../baidu/hugegraph/backend/query/ConditionQuery.java 85.90% <0.00%> (+0.44%) 98.00% <0.00%> (+1.00%)
.../hugegraph/backend/serializer/TableSerializer.java 88.35% <0.00%> (+0.59%) 55.00% <0.00%> (+1.00%)
...m/baidu/hugegraph/backend/tx/GraphTransaction.java 81.10% <0.00%> (+1.18%) 262.00% <0.00%> (+5.00%)
...java/com/baidu/hugegraph/type/define/DataType.java 86.30% <0.00%> (+2.73%) 40.00% <0.00%> (+2.00%)
...du/hugegraph/traversal/optimize/TraversalUtil.java 65.02% <0.00%> (+3.00%) 107.00% <0.00%> (+4.00%)
...egraph/backend/store/cassandra/CassandraTable.java 80.72% <0.00%> (+4.36%) 80.00% <0.00%> (+4.00%)
...h/backend/store/cassandra/CassandraSerializer.java 90.47% <0.00%> (+4.76%) 27.00% <0.00%> (+1.00%)
...com/datastax/driver/core/querybuilder/Clauses.java 82.60% <0.00%> (+8.69%) 4.00% <0.00%> (+2.00%)
... and 2 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8c8e9ed...4a42dde. Read the comment docs.

} else {
hasInEdge = true;
}
if (hasOutEdge && hasInEdge) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

still returned 3 vertices

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh seems the graph itself exist both direction edges between tow vertices

} else {
hasInEdge = true;
}
if (hasOutEdge && hasInEdge) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh seems the graph itself exist both direction edges between tow vertices

@Linary Linary merged commit 2ac0702 into master Apr 10, 2020
@Linary Linary deleted the fix-assert branch April 10, 2020 09:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants