-
Notifications
You must be signed in to change notification settings - Fork 525
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
refactor olap property #1675
refactor olap property #1675
Conversation
Change-Id: I137a42916eeee00775eafb55ee299a8a64e21671
Codecov Report
@@ Coverage Diff @@
## master #1675 +/- ##
============================================
+ Coverage 66.60% 66.61% +0.01%
+ Complexity 7042 7041 -1
============================================
Files 421 420 -1
Lines 34673 34649 -24
Branches 4803 4803
============================================
- Hits 23095 23083 -12
+ Misses 9231 9222 -9
+ Partials 2347 2344 -3
Continue to review full report at Codecov.
|
@@ -258,8 +258,13 @@ public void serverStarted(Id serverId, NodeRole serverRole) { | |||
serverId, serverRole, this.name); | |||
this.serverInfoManager().initServerInfo(serverId, serverRole); | |||
|
|||
LOG.info("Search olap property key for graph '{}'", this.name); | |||
this.schemaTransaction().initAndRegisterOlapTables(); | |||
// TODO: check necessary? |
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.
we will rebuild missing olap table here (in another pr)
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.
Ok, when will the table be missing?
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.
at least 2 cases:
- create property key success, create table failed (with any reason)
- the olap table store file delete/broken by some operations
and once it happens, we can't delete or search or recovery it, this problem will be fixed in that pr
LOG.info("Search olap property key for graph '{}'", this.name); | ||
this.schemaTransaction().initAndRegisterOlapTables(); | ||
// TODO: check necessary? | ||
LOG.info("Init olap property-keys for graph '{}'", this.name); |
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.
seems the info is not accurate, "Check olap property-keys and tables for xxx" is better
Change-Id: Idb95736c9750e771d924a44fb24d0163a647dc7b
Change-Id: I137a42916eeee00775eafb55ee299a8a64e21671