Skip to content

Commit 1a8e0d9

Browse files
authored
Merge pull request #2 from Aph-CUG/dev-aph
update
2 parents 833a326 + e19bf22 commit 1a8e0d9

File tree

1 file changed

+4
-0
lines changed
  • hugegraph-server/hugegraph-dist/src/main/java/org/apache/hugegraph

1 file changed

+4
-0
lines changed

hugegraph-server/hugegraph-dist/src/main/java/org/apache/hugegraph/TxScanner.java

+4
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ public void scan() {
3333
switch (checkList.getStage()) {
3434
case "config": {
3535
configContinue(checkList);
36+
break;
3637
}
3738
case "initBackend" : {
3839
HugeConfig config = checkList.getConfig();
@@ -42,15 +43,18 @@ public void scan() {
4243
// Write config to disk file
4344
String confPath = ConfigUtil.writeToFile(checkList.getConfigPath(), graph.name(),
4445
(HugeConfig)graph.configuration());
46+
break;
4547
}
4648
case "setServerStarted" : {
4749
HugeConfig config = checkList.getConfig();
4850
HugeGraph graph = (HugeGraph) GraphFactory.open(config);
4951
String confPath = ConfigUtil.writeToFile(checkList.getConfigPath(), graph.name(),
5052
(HugeConfig)graph.configuration());
53+
break;
5154
}
5255
case "finish" : {
5356
client.delete(prefix + checkList.getName());
57+
break;
5458
}
5559
}
5660
}

0 commit comments

Comments
 (0)