sashapolo commented on code in PR #4658:
URL: https://github.com/apache/ignite-3/pull/4658#discussion_r1822789769
##########
modules/runner/src/main/java/org/apache/ignite/internal/app/IgniteServerImpl.java:
##########
@@ -119,6 +119,14 @@ public class IgniteServerImpl implements IgniteServer {
@Nullable
private CompletableFuture<Void> restartOrShutdownFuture;
+ /**
+ * Future of the last internal restart future ({@code null} if no internal
restarts where made).
+ *
+ * <p>Guarded by {@link #restartOrShutdownMutex}.
+ */
+ @Nullable
+ private CompletableFuture<Void> restartFuture;
Review Comment:
Do we really need to know if restart has never been issued? Can we
initialize this future with `nullCompletedFuture`?
--
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]