-
FE 启动失败: failed to load journal type 261
2023-08-08 13:51:43,632 WARN (stateChangeExecutor|92) [GlobalStateMgr.replayJournalInner():1930] catch exception when replaying 24259470,
com.starrocks.journal.JournalInconsistentException: failed to load journal type 261
at com.starrocks.persist.EditLog.loadJournal(EditLog.java:948) ~[classes/:?]
at com.starrocks.server.GlobalStateMgr.replayJournalInner(GlobalStateMgr.java:1919) [classes/:?]
at com.starrocks.server.GlobalStateMgr.replayJournal(GlobalStateMgr.java:1870) [classes/:?]
at com.starrocks.server.GlobalStateMgr.transferToLeader(GlobalStateMgr.java:1050) [classes/:?]
at com.starrocks.server.GlobalStateMgr.access$100(GlobalStateMgr.java:298) [classes/:?]
at com.starrocks.server.GlobalStateMgr$1.transferToLeader(GlobalStateMgr.java:655) [classes/:?]
at com.starrocks.ha.StateChangeExecutor.runOneCycle(StateChangeExecutor.java:86) [classes/:?]
at com.starrocks.common.util.Daemon.run(Daemon.java:115) [classes/:?]
Caused by: java.lang.NumberFormatException: null
at java.lang.Integer.parseInt(Integer.java:542) ~[?:1.8.0_202]
at java.lang.Integer.parseInt(Integer.java:615) ~[?:1.8.0_202]
at com.starrocks.catalog.DynamicPartitionProperty.<init>(DynamicPartitionProperty.java:73) ~[classes/:?]
at com.starrocks.catalog.TableProperty.buildDynamicProperty(TableProperty.java:189) ~[classes/:?]
at com.starrocks.catalog.TableProperty.buildProperty(TableProperty.java:145) ~[classes/:?]
at com.starrocks.server.LocalMetastore.replayModifyTableProperty(LocalMetastore.java:4157) ~[classes/:?]
at com.starrocks.server.GlobalStateMgr.replayModifyTableProperty(GlobalStateMgr.java:3121) ~[classes/:?]
at com.starrocks.persist.EditLog.loadJournal(EditLog.java:722) ~[classes/:?]
... 7 more
-
Github Issue:
-
Github Fix PR:
-
Jira
-
问题版本:
- 2.5.0 ~ 2.5.6
- 3.0.0
-
修复版本:
- 2.5.7+
- 3.0.1+
-
问题原因:
- 创建动态分区表时,没有指定bucket数,leader节点给了默认值,replay时没有给默认值导致获取属性时报错。这个PR是修其他问题的时候顺带修复了这个问题。