yfsn666 opened a new issue, #12120: URL: https://github.com/apache/inlong/issues/12120
### Description The current worker selection logic uses a single-shot round-robin strategy: it picks only one worker per request and immediately returns an error if that worker is busy, without attempting any others. When a single endpoint hangs or comes under heavy load, the worker queue bound to that endpoint can fill up rapidly, resulting in a large number of `ErrNoAvailableWorker` errors—even when other workers remain idle. A better approach would be to iterate through all workers and pick the first idle one, returning an error only when all workers are busy. ### InLong Component InLong SDK ### Are you willing to submit PR? - [x] Yes, I am willing to submit a PR! ### Code of Conduct - [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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]
