【详述】升级StarRocks-3.1.0-rc01,BE测试正常,升级正常。FE测试时出错。
按照官网文档,https://docs.starrocks.io/zh-cn/latest/deployment/upgrade
选择一个follower:
- 停止服务
- 拷贝leader节点的meta
- 修改conf中的端口、
- 添加配置项
cluster_id = 123456
、metadata_failure_recovery = true
。 - 修改meta/image/VERSION:
cluster_id
设置为123456
启动后jps查看进程StarRocksFE存在,但马上就消失。查看fe.warn.log.报错。
2023-07-13 13:56:00,379 WARN (UNKNOWN 192.168.134.51_9010_1688536065850(-1)|1) [StateChangeExecutor.notifyNewFETypeTransfer():62] notify new FE type transfer: UNKNOWN
2023-07-13 13:56:00,423 WARN (RepNode 192.168.134.51_9010_1688536065850(-1)|79) [StateChangeExecutor.notifyNewFETypeTransfer():62] notify new FE type transfer: LEADER
2023-07-13 13:56:01,498 WARN (UNKNOWN 192.168.134.51_9010_1688536065850(-1)|1) [ColocateTableIndex.cleanupInvalidDbOrTable():1024] remove 0 invalid tableid: []
2023-07-13 13:56:02,019 WARN (UNKNOWN 192.168.134.51_9010_1688536065850(-1)|1) [GlobalStateMgr.loadImage():1600] load image eof.
java.io.EOFException: null
at java.io.DataInputStream.readFully(DataInputStream.java:197) ~[?:1.8.0_321]
at com.starrocks.common.io.Text.readString(Text.java:393) ~[starrocks-fe.jar:?]
。。。。。。
2023-07-13 13:56:02,027 WARN (UNKNOWN 192.168.134.51_9010_1688536065850(-1)|1) [GlobalStateMgr.loadImage():1606] follower has to wait for leader to upgrade the privileges, set usingNewPrivilege = false for now
2023-07-13 13:56:06,253 WARN (stateChangeExecutor|89) [GlobalStateMgr.replayJournalInner():2257] catch exception when replaying 4918601,
com.starrocks.journal.JournalInconsistentException: failed to load journal type 201
at com.starrocks.persist.EditLog.loadJournal(EditLog.java:1085) ~[starrocks-fe.jar:?]
。。。。。。
Caused by: java.lang.NullPointerException
at com.starrocks.load.routineload.RoutineLoadMgr.replayChangeRoutineLoadJob(RoutineLoadMgr.java:606) ~[starrocks-fe.jar:?]
at com.starrocks.persist.EditLog.loadJournal(EditLog.java:701) ~[starrocks-fe.jar:?]
… 7 more
2023-07-13 13:56:06,253 WARN (stateChangeExecutor|89) [GlobalStateMgr.replayJournal():2200] got interrupt exception or inconsistent exception when replay journal 4918601, will exit,
com.starrocks.journal.JournalInconsistentException: failed to load journal type 201
【StarRocks版本】例如:3.0.3 -> StarRocks-3.1.0-rc01
【集群规模】3 fe + 3be。be升级成功
【联系方式】jie-zhang(ijavatar@126.com)
【附件】