[
https://issues.apache.org/jira/browse/ARTEMIS-2257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16792823#comment-16792823
]
ASF subversion and git services commented on ARTEMIS-2257:
----------------------------------------------------------
Commit 59c966902c3d568f10da4f89b0a7778e4351fbdb in activemq-artemis's branch
refs/heads/master from yang wei
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=59c9669 ]
ARTEMIS-2257 Synchronize SharedEventLoopGroup shutdownGracefully
> Synchronize SharedEventLoopGroup shutdownGracefully to prevent race conditions
> ------------------------------------------------------------------------------
>
> Key: ARTEMIS-2257
> URL: https://issues.apache.org/jira/browse/ARTEMIS-2257
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Components: Broker
> Affects Versions: 2.6.4
> Reporter: yangwei
> Priority: Critical
> Time Spent: 1h 50m
> Remaining Estimate: 0h
>
> While thread a shutdowns shared event loop, between schedulingĀ a task and set
> the shutdown reference thread b calls getInstance() and retrieves ready
> shutting down instance. Add synchronized block to fix the problem.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)