Linary
Linary
**Please check the FAQ documentation before raising an issue** **Describe the bug (__required__)** Can't decode ColumnExpression, it will report failed like: ``` F20220713 17:35:04.868080 830015 Value.cpp:749] Check failed: type_ ==...
**Please check the FAQ documentation before raising an issue** **Describe the bug (__required__)** The merge method of DataSet exist bug: * colNames insert at the end position of origin colNames;...
这个错是表示follower节点应用日志的速度跟不上leader发日志的速度吗? ``` [JRaft-LogManager-Disruptor-0] [ERROR] com.baidu.hugegraph.backend.store.raft.StoreStateMachine [] - Raft error: FSMCaller is overload. com.alipay.sofa.jraft.error.RaftException: FSMCaller is overload. at com.alipay.sofa.jraft.core.FSMCallerImpl.enqueueTask(FSMCallerImpl.java:236) [jraft-core-1.3.1.jar:?] at com.alipay.sofa.jraft.core.FSMCallerImpl.onCommitted(FSMCallerImpl.java:245) [jraft-core-1.3.1.jar:?] at com.alipay.sofa.jraft.core.BallotBox.setLastCommittedIndex(BallotBox.java:241) [jraft-core-1.3.1.jar:?] at com.alipay.sofa.jraft.core.NodeImpl$FollowerStableClosure.run(NodeImpl.java:1828) [jraft-core-1.3.1.jar:?] at com.alipay.sofa.jraft.storage.impl.LogManagerImpl$AppendBatcher.flush(LogManagerImpl.java:469)...
### Your question transferLeadershipTo方法表现得是一个同步方法,传入新的leaderId,返回status,然后用status判断操作是否成功。但跟踪源码发现,transferLeadershipTo其实是给新的leader发了一个TimeoutRequest,然后并未处理请求的Future对象,就返回了Status.OK()。但是如果发送和处理TimeoutRequest时出错了,group状态就和返回出去的status不一致了。 ### Your advice 让transferLeadershipTo方法签名与addPeer、removePeer保持一致,传入一个Closure。 ### Environment - SOFAJRaft version: 1.3.3
### Your question 一个Node之前是leader,然后在transferLeader的过程中,触发了状态机的onLeaderStop,但是还没选出新的leader。按道理说onLeaderStop执行后,表示leader已经退位了,那isLeader和getLeaderId的返回值应该是: - Node.isLeader返回false; - Node.getLeaderId返回null; 如果说onLeaderStop只是一个中间步骤,并不表示leader已经退位,那应该是第2种情况 - Node.isLeader返回true; - Node.getLeaderId返回原leaderId。 但是实际上的情况是: - Node.isLeader返回false - Node.getLeaderId返回原leaderId 这样一种矛盾的状态我不知道是不是bug。 ### Environment - SOFAJRaft version: 1.3.3
### 问题概述 follower节点的状态机繁忙时会被step down,并且设置为ERROR态,导致无法继续接收后续的raft日志,即使状态机过一会能从繁忙中恢复。 ### 问题详述 `FSMCallerImpl`类中有个`enqueueTask`方法,各种事件都会触发到它这儿,我以commit日志方法说明。 ``` private boolean enqueueTask(final EventTranslator tpl) { if (this.shutdownLatch != null) { // Shutting down LOG.warn("FSMCaller is stopped, can not apply new task.");...
使用hugegraph-dist的jar包时,应该允许排除对hugegraph-api的依赖,但是`RegisterUtil.java`中强依赖了hugegraph-api的`ServerOptions.java`。