ascherbakoff commented on a change in pull request #147:
URL: https://github.com/apache/ignite-3/pull/147#discussion_r640444227
##########
File path:
modules/raft-client/src/main/java/org/apache/ignite/raft/client/service/impl/RaftGroupServiceImpl.java
##########
@@ -88,6 +92,9 @@
/** */
private final ScheduledExecutorService executor =
Executors.newScheduledThreadPool(1);
+ /** */
+ private final boolean reuse;
Review comment:
It's used for tests currently and allows to have the same lifecycle for
cluster and raft server, see [1]
Helps to reduce boilerplate code.
[1] org.apache.ignite.raft.server.ITRaftCounterServerTest
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]