You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shenyu.apache.org by "Aias00 (via GitHub)" <gi...@apache.org> on 2026/08/03 01:12:24 UTC
[I] [BUG] AbstractLogCollector.close() drops all buffered logs on shutdown [shenyu]
Aias00 opened a new issue, #6763:
URL: https://github.com/apache/shenyu/issues/6763
- severity: Medium
- files: `shenyu-plugin/shenyu-plugin-logging/shenyu-plugin-logging-common/.../AbstractLogCollector.java:256-262`
- description: `close()` sets `started = false` (causing `consume()` to exit) then immediately closes the log consume client. Any logs still in `bufferQueue`/`bufferQueueS` are never flushed. On config refresh, `initClient()` calls `close()` before re-init.
- impact: Data loss — all access logs buffered but not yet flushed at config refresh/shutdown are permanently lost.
- suggested_fix: Drain the buffer queue(s) and send a final batch before closing.
- 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: notifications-unsubscribe@shenyu.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [BUG] AbstractLogCollector.close() drops all buffered logs on shutdown [shenyu]
Posted by "Aias00 (via GitHub)" <gi...@apache.org>.
Aias00 closed issue #6763: [BUG] AbstractLogCollector.close() drops all buffered logs on shutdown
URL: https://github.com/apache/shenyu/issues/6763
--
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: notifications-unsubscribe@shenyu.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [BUG] AbstractLogCollector.close() drops all buffered logs on shutdown [shenyu]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #6763:
URL: https://github.com/apache/shenyu/issues/6763#issuecomment-5161315141
👋 Hello @yuluo-yx
A new issue has been opened by @Aias00:
- **Title**: [BUG] AbstractLogCollector.close() drops all buffered logs on shutdown
- **Link**: https://github.com/apache/shenyu/issues/6763
Please review when you have time. Thank you! 🙏
--
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: notifications-unsubscribe@shenyu.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org