【详述】重启fe后,当前fe角色重置为LEADER,然后启动失败
【背景】重启3台fe
【业务影响】
【StarRocks版本】例如:2.4
【集群规模】例如:3fe(1 follower+2observer)+3be(fe与be混部)
【附件】
fe.out
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/data/StarRocks-bin/fe/lib/slf4j-reload4j-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/data/StarRocks-bin/fe/lib/slf4j-log4j12-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/data/StarRocks-bin/fe/lib/log4j-slf4j-impl-2.17.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Reload4jLoggerFactory]
[2023-06-05 11:18:52] notify new FE type transfer: UNKNOWN
[2023-06-05 11:18:54] notify new FE type transfer: LEADER
[2023-06-05 11:19:09] notify new FE type transfer: LEADER
[2023-06-05 11:19:24] notify new FE type transfer: LEADER
com.starrocks.journal.JournalException: failed to setup environment after retried 3 times
at com.starrocks.journal.bdbje.BDBEnvironment.setupEnvironment(BDBEnvironment.java:320)
at com.starrocks.journal.bdbje.BDBEnvironment.setup(BDBEnvironment.java:163)
at com.starrocks.journal.bdbje.BDBEnvironment.initBDBEnvironment(BDBEnvironment.java:141)
at com.starrocks.journal.JournalFactory.create(JournalFactory.java:18)
at com.starrocks.server.GlobalStateMgr.initJournal(GlobalStateMgr.java:879)
at com.starrocks.server.GlobalStateMgr.initialize(GlobalStateMgr.java:858)
at com.starrocks.StarRocksFE.start(StarRocksFE.java:115)
at com.starrocks.StarRocksFE.main(StarRocksFE.java:67)
Caused by: com.sleepycat.je.rep.InsufficientReplicasException: (JE 7.3.7) Commit policy: SIMPLE_MAJORITY required 1 replica. But none were active with this master.
at com.sleepycat.je.rep.impl.node.DurabilityQuorum.ensureReplicasForCommit(DurabilityQuorum.java:116)
at com.sleepycat.je.rep.impl.RepImpl.txnBeginHook(RepImpl.java:1161)
at com.sleepycat.je.rep.txn.MasterTxn.txnBeginHook(MasterTxn.java:193)
at com.sleepycat.je.txn.Txn.initTxn(Txn.java:377)
at com.sleepycat.je.txn.Txn.(Txn.java:286)
at com.sleepycat.je.txn.Txn.(Txn.java:265)
at com.sleepycat.je.rep.txn.MasterTxn.(MasterTxn.java:144)
at com.sleepycat.je.rep.txn.MasterTxn$1.create(MasterTxn.java:115)
at com.sleepycat.je.rep.txn.MasterTxn.create(MasterTxn.java:433)
at com.sleepycat.je.rep.impl.RepImpl.createRepUserTxn(RepImpl.java:1135)
at com.sleepycat.je.txn.Txn.createAutoTxn(Txn.java:332)
at com.sleepycat.je.txn.LockerFactory.getWritableLocker(LockerFactory.java:79)
at com.sleepycat.je.Environment.setupDatabase(Environment.java:800)
at com.sleepycat.je.Environment.openDatabase(Environment.java:652)
at com.starrocks.journal.bdbje.BDBEnvironment.setupEnvironment(BDBEnvironment.java:296)
… 7 more