krashouk opened a new pull request, #1900: URL: https://github.com/apache/rocketmq-dashboard/pull/1900
## 变更目的 ClusterInfoService 创建的 ScheduledExecutorService 没有销毁入口,应用上下文关闭后线程仍可能存活。 ## 简要变更 - 增加 Jakarta `@PreDestroy` 生命周期方法。 - 销毁时调用 `scheduler.shutdown()`,不强制中断正在执行的刷新。 - 增加调度器关闭状态回归测试。 ## 本地验证 - `ClusterInfoServiceTest`:1/1 通过(Temurin 17) - `git diff --check`:通过 - 400 行范围门禁:通过 ## 未执行 未运行容器、RocketMQ 集群、完整 E2E、压力测试或镜像构建;这些重量级验证交由 PR 自动触发的上游检查。 ## 提交清单 - [x] 已创建唯一对应 Issue - [x] 一个 PR 只解决一个问题 - [x] 已增加必要回归测试 - [x] 已完成受影响范围的本地轻量验证 Fixes #1890 -- 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]
