sanpwc commented on a change in pull request #147:
URL: https://github.com/apache/ignite-3/pull/147#discussion_r639479614



##########
File path: modules/raft/src/main/java/org/apache/ignite/internal/raft/Loza.java
##########
@@ -99,6 +100,19 @@ public void stopRaftGroup(String groupId, List<ClusterNode> 
peers) {
         //Now we are using only one node in a raft group.
         //TODO: IGNITE-13885 Investigate jraft implementation for replication 
framework based on RAFT protocol.
         if 
(peers.get(0).name().equals(clusterNetSvc.topologyService().localMember().name()))
-            raftServer.clearListener(groupId);
+            raftServer.stopRaftGroup(groupId);
+    }
+
+    public RaftGroupService startRaftService(String groupId, List<ClusterNode> 
peers) {

Review comment:
       javadoc




-- 
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]


Reply via email to