ygerzhedovich commented on code in PR #7870:
URL: https://github.com/apache/ignite-3/pull/7870#discussion_r2993142703


##########
modules/transactions/src/main/java/org/apache/ignite/internal/tx/impl/RemotelyTriggeredResourceRegistry.java:
##########
@@ -148,6 +148,11 @@ public void close(UUID contextId) throws 
ResourceCloseException {
     public void closeByRemoteHostId(UUID remoteHostId) {
         Set<FullyQualifiedResourceId> resourceIds = 
remoteHostsToResources.get(remoteHostId);
 
+        if (resourceIds == null) {
+            // Remote host resources were already closed, likely by a 
concurrent call of "removeRemoteHostResource" method.

Review Comment:
   As I say above - it's my bad and the question was wrong )



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