[
https://issues.apache.org/jira/browse/ARTEMIS-2257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16774461#comment-16774461
]
clebert suconic commented on ARTEMIS-2257:
------------------------------------------
The Synchronize SharedEvenLoopGroup is how you implemented a fix.. not the bug
itself.
Do you have any symptoms, any stack trace, any detail on where it happened?
There is an AtomicBoolean around the call you made.
I would like to see more detail on what the actual issue you're fixing.. what
were the symptoms...
At least when people hit a similar issue they can find the real bug. So far you
documented the fix, not the bug.
> 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: 10m
> 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)