korlov42 commented on code in PR #1880:
URL: https://github.com/apache/ignite-3/pull/1880#discussion_r1171177406
##########
modules/client-handler/src/main/java/org/apache/ignite/client/handler/JdbcQueryEventHandlerImpl.java:
##########
@@ -514,6 +510,10 @@ <T> CompletableFuture<T> doInSession(SessionAwareAction<T>
action) {
private SessionId recreateSession(@Nullable SessionId
expectedSessionId) {
synchronized (mux) {
+ if (closed) {
+ throw new IgniteInternalException(CONNECTION_ERR,
"Connection is closed");
Review Comment:
it's better to cover this with tests to see what will happen
--
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]