Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-2257

Synchronize SharedEventLoopGroup shutdownGracefully to prevent race conditions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.6.4
    • 2.7.0
    • Broker
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              wy96f Wei Yang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h
                  2h