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 2021/10/18 09:51:52 UTC

[GitHub] [ignite-3] tledkov-gridgain commented on a change in pull request #395: IGNITE-15601 Implement stop for calcite module in 3.0

tledkov-gridgain commented on a change in pull request #395:
URL: https://github.com/apache/ignite-3/pull/395#discussion_r730756700



##########
File path: modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/SqlQueryProcessor.java
##########
@@ -52,6 +55,12 @@
 
     private final TableManager tableManager;
 
+    /** Busy lock for stop synchronisation. */
+    private final IgniteSpinBusyLock busyLock = new IgniteSpinBusyLock();
+
+    /** Event listeners to close. */
+    private final List<Pair<TableEvent, EventListener>> evtLsnrs = new ArrayList<>();

Review comment:
       What for? What advantages of this solution do you see?




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