[ 
https://issues.apache.org/jira/browse/ARTEMIS-2257?focusedWorklogId=202666&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-202666
 ]

ASF GitHub Bot logged work on ARTEMIS-2257:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 22/Feb/19 14:45
            Start Date: 22/Feb/19 14:45
    Worklog Time Spent: 10m 
      Work Description: clebertsuconic commented on issue #2558: ARTEMIS-2257 
Synchronize SharedEventLoopGroup shutdownGracefully
URL: https://github.com/apache/activemq-artemis/pull/2558#issuecomment-466420409
 
 
   @wy96f did you see my comment on the JIRA?
   
   Synchronized SharedEventLoopGroup is not the bug, it's the fix you applied 
to fix the bug.
   
   I don't know in what condition the issue happened. 
   
   Can you add more detail on how it happened? a test would be great if 
possible... if you think a test is almost impossible due to an issue lets 
discuss and see if there's a way around.
   
   Fixes without tests should be an exception... not the rule.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 202666)
    Time Spent: 20m  (was: 10m)

> 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: 20m
>  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)

Reply via email to