You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2021/11/26 08:19:14 UTC

[GitHub] [rocketmq] XiaoyiPeng opened a new issue #3541: Calling the shutdownNow method of ScheduleMessageService#deliverExecutorService may result in broker inconsistent state.

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: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq] Git-Yang commented on issue #3541: Calling the shutdownNow method of ScheduleMessageService#deliverExecutorService may result in broker inconsistent state.

Posted by GitBox <gi...@apache.org>.
Git-Yang commented on issue #3541:
URL: https://github.com/apache/rocketmq/issues/3541#issuecomment-979778226


   This problem is solved in PR #3478 , you can help review it.


-- 
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: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq] XiaoyiPeng closed issue #3541: Calling the shutdownNow method of ScheduleMessageService#deliverExecutorService may result in broker inconsistent state.

Posted by GitBox <gi...@apache.org>.
XiaoyiPeng closed issue #3541:
URL: https://github.com/apache/rocketmq/issues/3541


   


-- 
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: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq] XiaoyiPeng commented on issue #3541: Calling the shutdownNow method of ScheduleMessageService#deliverExecutorService may result in broker inconsistent state.

Posted by GitBox <gi...@apache.org>.
XiaoyiPeng commented on issue #3541:
URL: https://github.com/apache/rocketmq/issues/3541#issuecomment-979779471


   > This problem is solved in PR #3478 , you can help review it.
   
   Ok, niubility,haha~


-- 
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: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq] XiaoyiPeng edited a comment on issue #3541: Calling the shutdownNow method of ScheduleMessageService#deliverExecutorService may result in broker inconsistent state.

Posted by GitBox <gi...@apache.org>.
XiaoyiPeng edited a comment on issue #3541:
URL: https://github.com/apache/rocketmq/issues/3541#issuecomment-979779471


   > This problem is solved in PR #3478 , you can help review it.
   
   OK, niubility,haha~


-- 
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: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org