XiaoyiPeng opened a new issue #3541:
URL: https://github.com/apache/rocketmq/issues/3541
**BUG REPORT**
1. Please describe the issue you observed:
Calling the `shutdownNow()` method of
`ScheduleMessageService#deliverExecutorService` may lead to `broker`
inconsistent state.
2. Please tell us about your environment:
Windows 10
3. Other information (e.g. detailed explanation, logs, related issues,
suggestions how to fix, etc):
When the `ScheduleMessageService#shutdown()` method is called,
`shutdownNow()` method of `ScheduleMessageService#deliverExecutorService` is
called ,which will interrput threads in
`ScheduleMessageService#deliverExecutorService` .
If at this point, the task(eg: `ScheduleMessageService#persist()` operation)
in `ScheduleMessageService#deliverExecutorService`has not completely done,
which may lead to broker inconsistent state.
--
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]