AMashenkov commented on code in PR #2846:
URL: https://github.com/apache/ignite-3/pull/2846#discussion_r1422594950


##########
modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/api/SessionImpl.java:
##########
@@ -543,55 +548,77 @@ List<AsyncSqlCursor<?>> openedCursors() {
     }
 
     private class ScriptHandler {
+        private final CompletableFuture<Void> resFut = new 
CompletableFuture<>();
 
-        private final CompletableFuture<Void> resFut;
+        private final AtomicReference<Throwable> cursorCloseErrHolder = new 
AtomicReference<>();

Review Comment:
   ```suggestion
           private final List<Throwable> cursorCloseErrHolder = 
Coliections.synchronizedList(new ArrayList<>());
   ```



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

Reply via email to