youngkermit8-coder opened a new issue, #1519:
URL: https://github.com/apache/rocketmq-dashboard/issues/1519

   ## Problem
   
   `AliyunClientFactory.call` cancels an in-flight SDK `CompletableFuture` when 
its bounded wait times out, but its `InterruptedException` path only restores 
the caller's interrupt flag. The underlying Aliyun OpenAPI request keeps 
running after the caller has already failed.
   
   ## Impact
   
   During server shutdown, request cancellation, or other thread interruption, 
abandoned SDK calls can continue consuming HTTP connections and executor 
resources. This is the same resource-lifecycle gap already addressed for 
timeouts in #1397/#1398.
   
   ## Proposed fix
   
   Cancel the in-flight future before restoring the interrupt flag and 
returning the existing 502 response. Add a regression test that interrupts the 
waiting caller and verifies both future cancellation and interrupt preservation.
   
   Track 1: cloud instance-provider reliability.


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