Aias00 opened a new issue, #6762: URL: https://github.com/apache/shenyu/issues/6762
- severity: Medium - files: `shenyu-plugin/shenyu-plugin-logging/shenyu-plugin-logging-common/.../AbstractLogCollector.java:94-96,98-100` - description: `collect()` checks `bufferQueue.size() < bufferSize` then calls `bufferQueue.add(log)`. Not atomic. Multiple concurrent threads can all pass the size check, then all call `add()`. `add()` on a full `LinkedBlockingDeque` throws `IllegalStateException` (not `offer()` which returns false). - impact: Under high concurrency near capacity, request threads receive uncaught `IllegalStateException`, potentially failing HTTP requests. - suggested_fix: Replace `bufferQueue.add(log)` with `bufferQueue.offer(log)`. - confidence: High - related_existing: none --- _Identified during the 2026-08-02 deep re-scan; full list in [`docs/scan2-2026-08-02/06-medium-tiers.md`](docs/scan2-2026-08-02/06-medium-tiers.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]
