LYD031106 commented on code in PR #2888:
URL:
https://github.com/apache/incubator-hugegraph/pull/2888#discussion_r2556908114
##########
hugegraph-server/hugegraph-mysql/src/main/java/org/apache/hugegraph/backend/store/mysql/MysqlStore.java:
##########
@@ -337,6 +337,9 @@ protected void clearTables() {
protected void truncateTables() {
Session session = this.sessions.session();
for (MysqlTable table : this.tables()) {
+ if (table instanceof MysqlTables.Meta || table instanceof
MysqlTables.Counters){
Review Comment:
Sorry, this was my misjudgment: I mistakenly thought the Counters table was
a system table similar to the Meta table, so I included it in the
truncation-skip logic.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]