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 mistake multiple backend info as no backend info #723

Merged
merged 3 commits into from
Nov 4, 2019

Conversation

zhoney
Copy link
Contributor

@zhoney zhoney commented Oct 30, 2019

Change-Id: I4f017d7763698c7ccd01eb3b98f0fe897d8448c4

@codecov
Copy link

codecov bot commented Oct 30, 2019

Codecov Report

Merging #723 into master will increase coverage by <.01%.
The diff coverage is 81.81%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #723      +/-   ##
============================================
+ Coverage     71.12%   71.13%   +<.01%     
- Complexity     4330     4332       +2     
============================================
  Files           281      281              
  Lines         20693    20703      +10     
  Branches       2919     2921       +2     
============================================
+ Hits          14718    14727       +9     
+ Misses         4527     4526       -1     
- Partials       1448     1450       +2
Impacted Files Coverage Δ Complexity Δ
...ugegraph/backend/store/BackendStoreSystemInfo.java 74.35% <81.81%> (+5.39%) 8 <0> (+2) ⬆️
...n/java/com/baidu/hugegraph/task/TaskScheduler.java 69.46% <0%> (-0.77%) 44% <0%> (ø)
...a/com/baidu/hugegraph/backend/query/Condition.java 78% <0%> (-0.42%) 31% <0%> (ø)
...du/hugegraph/backend/tx/GraphIndexTransaction.java 80.97% <0%> (+0.39%) 179% <0%> (ø) ⬇️

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 5878d8f...f321a76. Read the comment docs.

@zhoney zhoney force-pushed the multi-backend-info branch 2 times, most recently from a5f578c to edc3950 Compare October 30, 2019 13:53
Linary
Linary previously approved these changes Oct 31, 2019
@@ -67,9 +71,19 @@ public void init() {
PropertyKey pkey = null;
try {
pkey = schema.getPropertyKey(PK_BACKEND_INFO);
} catch (BackendException | IllegalStateException |
UncheckedIOException ignored) {
} catch (BackendException | UncheckedIOException ignored) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Change-Id: I4f017d7763698c7ccd01eb3b98f0fe897d8448c4
this.graph.name(),
this.graph.backend());
}
// ignore
Copy link
Contributor

Choose a reason for hiding this comment

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

expect throw e here, since we assume the backend is inited before calling info()

Change-Id: Icccc9e1bef76156712132d7b39689a6ab574b6cf
Change-Id: I3dc6c92ffbceed276a261e5f9d2faf89028837fe
@Linary Linary merged commit 55fa49d into master Nov 4, 2019
@Linary Linary deleted the multi-backend-info branch November 4, 2019 05:12
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