Aias00 opened a new issue, #6554:
URL: https://github.com/apache/shenyu/issues/6554

   ## Description
   `while(true)` only exits on a successful TCP connect; there is no 
max-retry/timeout. This runs on the Disruptor's single consumer thread, so a 
single misconfigured `host`/`port` (or a client that never opens the port) 
keeps the connect loop spinning forever. Every subsequent registration event of 
any type (URI, metadata, apiDoc, mcp) is queued behind it and never processed.
   
   ## Location
   ```
   
shenyu-client-core/.../disruptor/subcriber/ShenyuClientURIExecutorSubscriber.java:76-99
   ```
   
   ## Impact
   A single unreachable URI stalls the entire client-side registration pipeline 
indefinitely — no metadata/URI/apiDoc for any other service in the same JVM is 
ever published.
   
   ## Suggested fix
   Bound the wait (fail after a configurable max elapsed time/attempts and 
publish an OFFLINE/error event), or perform the connect-wait off the Disruptor 
consumer thread.
   
   ## Related existing issue(s)
   None
   
   _Identified during the 2026-08-02 audit; full list in 
[`docs/issue-candidates-2026-08-02.md`](docs/issue-candidates-2026-08-02.md)._


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