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 edge batch update error #1776

Merged
merged 1 commit into from
Mar 10, 2022
Merged

fix edge batch update error #1776

merged 1 commit into from
Mar 10, 2022

Conversation

zhoney
Copy link
Contributor

@zhoney zhoney commented Mar 9, 2022

Change-Id: I8742ca0e128e3c9bc3eb2ef99a52276045e17b79

Change-Id: I8742ca0e128e3c9bc3eb2ef99a52276045e17b79
@codecov
Copy link

codecov bot commented Mar 9, 2022

Codecov Report

Merging #1776 (2d374e7) into master (730f332) will decrease coverage by 0.01%.
The diff coverage is 0.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #1776      +/-   ##
============================================
- Coverage     66.85%   66.84%   -0.02%     
+ Complexity      972      970       -2     
============================================
  Files           443      443              
  Lines         37738    37738              
  Branches       5381     5381              
============================================
- Hits          25229    25225       -4     
- Misses         9788     9793       +5     
+ Partials       2721     2720       -1     
Impacted Files Coverage Δ
...in/java/com/baidu/hugegraph/api/graph/EdgeAPI.java 63.73% <0.00%> (ø)
...in/java/com/baidu/hugegraph/backend/id/EdgeId.java 75.89% <0.00%> (-1.79%) ⬇️
...va/com/baidu/hugegraph/util/collection/IntSet.java 73.61% <0.00%> (-1.28%) ⬇️
...om/baidu/hugegraph/task/StandardTaskScheduler.java 75.12% <0.00%> (-0.25%) ⬇️
...du/hugegraph/backend/tx/GraphIndexTransaction.java 83.61% <0.00%> (+0.10%) ⬆️
...va/com/baidu/hugegraph/util/collection/IntMap.java 72.00% <0.00%> (+0.40%) ⬆️

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 730f332...2d374e7. Read the comment docs.

@@ -464,7 +464,7 @@ private Id getEdgeId(HugeGraph g, JsonEdge newEdge) {
Directions.OUT, labelId, sortKeys,
HugeVertex.getIdValue(newEdge.target));
if (newEdge.id != null) {
E.checkArgument(edgeId.equals(newEdge.id),
E.checkArgument(edgeId.asString().equals(newEdge.id),
Copy link
Member

Choose a reason for hiding this comment

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

wonder in which case the edgeId can't compare with jsonEdgeId?

@javeme javeme merged commit 6856cc2 into master Mar 10, 2022
@javeme javeme deleted the fix-edge-batch-update-error branch March 10, 2022 04:08
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.

3 participants