sk0x50 commented on a change in pull request #378:
URL: https://github.com/apache/ignite-3/pull/378#discussion_r723087434
##########
File path:
modules/cli/src/main/java/org/apache/ignite/cli/builtins/node/NodeManager.java
##########
@@ -111,8 +111,7 @@ public RunningNode start(String nodeName, Path logDir, Path
pidsDir, Path srvCfg
Process p = pb.start();
try (var spinner = new Spinner(out, "Starting a new Ignite node"))
{
-
- if (!waitForStart("Apache Ignite started successfully!",
logFile, NODE_START_TIMEOUT, spinner)) {
+ if (!waitForStart("Apache Ignite started successfully!",
logFile, p, NODE_START_TIMEOUT, spinner)) {
p.destroyForcibly();
throw new IgniteCLIException("Node wasn't started during
timeout period "
Review comment:
yep, make sense to me.
##########
File path:
modules/cli/src/main/java/org/apache/ignite/cli/builtins/node/NodeManager.java
##########
@@ -111,8 +111,7 @@ public RunningNode start(String nodeName, Path logDir, Path
pidsDir, Path srvCfg
Process p = pb.start();
try (var spinner = new Spinner(out, "Starting a new Ignite node"))
{
-
- if (!waitForStart("Apache Ignite started successfully!",
logFile, NODE_START_TIMEOUT, spinner)) {
+ if (!waitForStart("Apache Ignite started successfully!",
logFile, p, NODE_START_TIMEOUT, spinner)) {
p.destroyForcibly();
throw new IgniteCLIException("Node wasn't started during
timeout period "
Review comment:
yep, it makes sense to me.
--
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]