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 dropped id when restoring indexlabel #118

Merged
merged 1 commit into from
Mar 24, 2021
Merged

Conversation

zhoney
Copy link
Contributor

@zhoney zhoney commented Mar 22, 2021

fixed: hugegraph-tools #81

Change-Id: I36a804fd2369e9d6ecc0f7317995300f6d9f4dc4

Change-Id: I36a804fd2369e9d6ecc0f7317995300f6d9f4dc4
fixed: hugegraph-tools #81
@codecov
Copy link

codecov bot commented Mar 22, 2021

Codecov Report

Merging #118 (00d233d) into master (abb1f2b) will increase coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #118      +/-   ##
============================================
+ Coverage     76.94%   76.95%   +0.01%     
  Complexity      869      869              
============================================
  Files           143      143              
  Lines          3808     3810       +2     
  Branches        225      225              
============================================
+ Hits           2930     2932       +2     
  Misses          712      712              
  Partials        166      166              
Impacted Files Coverage Δ Complexity Δ
...m/baidu/hugegraph/structure/schema/IndexLabel.java 94.87% <100.00%> (+0.13%) 9.00 <0.00> (ø)

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 abb1f2b...00d233d. Read the comment docs.

@@ -273,6 +273,7 @@ public IndexLabelV56(IndexLabel indexLabel) {
super(indexLabel.name);
E.checkArgument(indexLabel.rebuild,
"The rebuild of indexlabel must be true");
this.id = indexLabel.id();
Copy link
Contributor

Choose a reason for hiding this comment

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

bump the version?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

no need right now. This bug only affects the situation that using hugegraph-tools 1.5 migrate/restore indexlabels to HugeGraphServer 0.10.

@Linary Linary merged commit bb65492 into master Mar 24, 2021
@Linary Linary deleted the fix-restore-il-drop-id branch March 24, 2021 03:13
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.

4 participants