Files
bai mengxuan 38a7ca0d23 [ISSUE #11477] fix(container): stop the container scheduler when the broker container shuts down
BrokerContainer.initialize() schedules the name-server refresh and the five-second
brokerOuterAPI.refreshMetadata() task on scheduledExecutorService, and shutdown()
stops the brokers, both remoting servers, the request executor and the outer API -
but not that scheduler. A shut-down container therefore keeps refreshing metadata
through an API it has already closed, logging "ScheduledTask refresh metadata
exception" every five seconds, and leaks the scheduler thread on every start/shutdown
cycle. Stop it before the API is closed, the way the request executor next to it is
stopped.
2026-10-22 17:22:47 +08:00
..