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



##########
File path: modules/raft/src/main/java/org/apache/ignite/internal/raft/Loza.java
##########
@@ -107,6 +111,8 @@ public Loza(ClusterService clusterNetSvc, Path dataPath) {
         // TODO: IGNITE-15161 Implement component's stop.
         IgniteUtils.shutdownAndAwaitTermination(executor, 10, 
TimeUnit.SECONDS);
 
+        assert localGroups.isEmpty() : LoggerMessageHelper.format("Raft groups 
are still running {}", localGroups);

Review comment:
       I'd rather move it to both raft server impls. Please check my comment 
for `stopRaftGroup`.




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


Reply via email to