valepakh commented on code in PR #4614:
URL: https://github.com/apache/ignite-3/pull/4614#discussion_r1825660349


##########
modules/cli/src/main/java/org/apache/ignite/internal/cli/call/cluster/status/ClusterStatusCall.java:
##########
@@ -30,13 +30,20 @@
 import org.apache.ignite.rest.client.api.ClusterManagementApi;
 import org.apache.ignite.rest.client.invoker.ApiException;
 import org.apache.ignite.rest.client.model.ClusterNode;
-import org.apache.ignite.rest.client.model.ClusterState;
 
 /**
  * Call to get cluster status.
  */
 @Singleton
-public class ClusterStatusCall implements Call<UrlCallInput, ClusterStatus> {
+public class ClusterStatusCall implements Call<UrlCallInput, ClusterState> {
+    /**
+     * We need to overlap timeout from raft client.
+     * We can't determine timeout value because it's configurable for each node

Review Comment:
   Maybe we can read the node configuration here and just add a couple of 
seconds to the configured timeout?



-- 
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: notifications-unsubscr...@ignite.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to