[prev in list] [next in list] [prev in thread] [next in thread] 

List:       activemq-users
Subject:    Re: Artemis 2.9.0 Deadlock
From:       brusdev <bruscinodf () gmail ! com>
Date:       2020-03-21 0:48:19
Message-ID: 1584751699967-0.post () n4 ! nabble ! com
[Download RAW message or body]

Hi,

I can't reproduce this issue against Artemis 2.11.0 because this issue was
already fixed by Clebert with ARTEMIS-2592.

Before the fix, the QueueImpl.removeConsumer locks the queue until the
deleting of auto-create queue.
The deleting of a queue calls ManagementServiceImpl.unregisterQueue that is
synchronized and this can cause the deadlock.

After the fix, QueueManagerImpl has an executor so the deleting of
auto-create queue isn't executed in the same thread of
QueueImpl.removeConsumer and this prevents the deadlock.

Regards,
Domenico



--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic