【已解决】2.0.0升级2.1.0 fe无法启动,历史数据无法留存

Viewed 65

存量数据库,从2.0.0升级到2.1.0 fe无法启动,fe.log如下

2024-03-12 02:34:55,824 INFO (main|1) [Env.loadAuth():2053] finished replay auth from image
2024-03-12 02:34:55,838 INFO (main|1) [Env.loadTransactionState():2061] finished replay transactionState from image
2024-03-12 02:34:55,839 INFO (main|1) [Env.loadColocateTableIndex():2094] finished replay colocateTableIndex from image
2024-03-12 02:34:55,839 INFO (main|1) [Env.loadRoutineLoadJobs():2100] finished replay routineLoadJobs from image
2024-03-12 02:34:55,857 INFO (main|1) [Env.loadLoadJobsV2():2106] finished replay loadJobsV2 from image
2024-03-12 02:34:55,857 INFO (main|1) [Env.loadSmallFiles():2148] finished replay smallFiles from image
2024-03-12 02:34:55,857 INFO (main|1) [Env.loadPlugins():5506] finished replay plugins from image
2024-03-12 02:34:56,030 INFO (main|1) [Env.loadDeleteHandler():2046] finished replay deleteHandler from image
2024-03-12 02:34:56,031 INFO (main|1) [Env.loadSqlBlockRule():2156] finished replay sqlBlockRule from image
2024-03-12 02:34:56,035 INFO (main|1) [Env.loadPolicy():2167] finished replay policy from image
2024-03-12 02:34:56,035 WARN (main|1) [MetaReader.read():105] meta modules mtmvJobManager is deprecated, ignore and skip it
2024-03-12 02:34:56,035 INFO (main|1) [Env.loadGlobalFunction():2190] finished replay global function from image
2024-03-12 02:34:56,043 INFO (main|1) [Env.loadWorkloadGroups():2130] finished replay workload groups from image
2024-03-12 02:34:56,043 INFO (main|1) [MetaReader.read():96] Skip binlogs module since empty meta length.
2024-03-12 02:34:56,043 INFO (main|1) [Env.loadWorkloadGroups():2130] finished replay workload groups from image
2024-03-12 02:34:56,063 INFO (main|1) [Env.loadAnalysisManager():2196] finished replay AnalysisMgr from image
2024-03-12 02:34:56,064 INFO (main|1) [MetaReader.read():136] finished to load image in 1872 ms

日志一直卡在最后一步,fe无法连接上

  • 清空掉2.0.0的doris-meta的历史数据,重新启动,fe可以正常启动并连上,但是这样会丢掉历史存量数据
  • 2.0.0升级到2.0.5无上述问题,经过对比日志,2.0.5中没有打印如下行日志
2024-03-12 02:34:56,035 WARN (main|1) [MetaReader.read():105] meta modules mtmvJobManager is deprecated, ignore and skip it

该如何处理该问题,保证存量数据不丢失?

2 Answers

具体是怎么升级的,可以加我微信下,我了解下详细情况,我这边专项跟进下 2.1 升级的问题:cyllyy810222

可以在卡之后打一个 jstack 吗?