zstan commented on a change in pull request #741:
URL: https://github.com/apache/ignite-3/pull/741#discussion_r831842751
##########
File path:
modules/raft/src/main/java/org/apache/ignite/raft/jraft/core/NodeImpl.java
##########
@@ -1167,36 +1167,37 @@ private void initPools(final NodeOptions opts) {
if (opts.getClientExecutor() == null && validateOption(opts,
"clientExecutor"))
opts.setClientExecutor(JRaftUtils.createClientExecutor(opts,
opts.getServerName()));
+
if (opts.getfSMCallerExecutorDisruptor() == null) {
- opts.setfSMCallerExecutorDisruptor(new
StripedDisruptor<FSMCallerImpl.ApplyTask>(
- NamedThreadFactory.threadPrefix(opts.getServerName(),
"JRaft-FSMCaller-Disruptor"),
- opts.getRaftOptions().getDisruptorBufferSize(),
- () -> new FSMCallerImpl.ApplyTask(),
- opts.getStripes()));
+ opts.setfSMCallerExecutorDisruptor(new StripedDisruptor<>(
+ NamedThreadFactory.threadPrefix(opts.getServerName(),
"JRaft-FSMCaller-Disruptor"),
Review comment:
ok ok understand
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]