Skip to content

Commit 56efc4e

Browse files
authored
feat(log): optimize checkpointV2 check tips (#5383)
1 parent 10223cc commit 56efc4e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

chainbase/src/main/java/org/tron/core/db2/core/SnapshotManager.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,9 @@ public void check() {
493493
if (!isV2Open()) {
494494
List<String> cpList = getCheckpointList();
495495
if (cpList != null && cpList.size() != 0) {
496-
logger.error("checkpoint check failed, can't convert checkpoint from v2 to v1");
496+
logger.error("checkpoint check failed, the checkpoint version of database not match your " +
497+
"config file, please set storage.checkpoint.version = 2 in your config file " +
498+
"and restart the node.");
497499
System.exit(-1);
498500
}
499501
checkV1();

0 commit comments

Comments
 (0)