Roman Puchkovskiy created IGNITE-23607:
------------------------------------------

             Summary: Remove invoke futures from requests map if initial 
message send fails
                 Key: IGNITE-23607
                 URL: https://issues.apache.org/jira/browse/IGNITE-23607
             Project: Ignite
          Issue Type: Improvement
            Reporter: Roman Puchkovskiy


When executing an invoke, we do the following:
 # Create a future and put it to the requestsMap
 # Send an InvokeRequest (with the actual request as a payload), wait for it to 
be acked
 # Wait till either a response arrives (and completes the future) or a timeout 
elapses

If, while sending InvokeRequest and handling its ack on item 2, an exception 
happens, we do not complete the invoke future, so it remains in the map till 
timeout elapses.

We have to complete it with the exception that happened and remove from the map 
as soon as possible.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to