You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ignite.apache.org by GitBox <gi...@apache.org> on 2022/12/29 14:35:50 UTC

[GitHub] [ignite-3] rpuch commented on a diff in pull request #1486: IGNITE-18451 Node stop may hang if an index is not created yet

rpuch commented on code in PR #1486:
URL: https://github.com/apache/ignite-3/pull/1486#discussion_r1058987106


##########
modules/table/src/main/java/org/apache/ignite/internal/table/TableImpl.java:
##########
@@ -371,6 +371,14 @@ private void awaitIndexes() {
         allOf(toWait.toArray(CompletableFuture[]::new)).join();
     }
 
+    /**
+     * Prepares this table for being closed. Currently, this means cancellation of PK future so that RAFT state machine
+     * does not need to wait for PK to be initialized, which allows to avoid a deadlock on stop.
+     */
+    public void prepareToClose() {

Review Comment:
   Removed the specifics



-- 
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-unsubscribe@ignite.apache.org

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