You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Alex Rudyy (JIRA)" <ji...@apache.org> on 2016/02/04 16:13:39 UTC
[jira] [Created] (QPID-7050) [Java Broker] State change executor
shutdown might delay closing of virtual host node when state change
functionality is performed in parallel with replication environment facade
close
Alex Rudyy created QPID-7050:
--------------------------------
Summary: [Java Broker] State change executor shutdown might delay closing of virtual host node when state change functionality is performed in parallel with replication environment facade close
Key: QPID-7050
URL: https://issues.apache.org/jira/browse/QPID-7050
Project: Qpid
Issue Type: Bug
Components: Java Broker
Affects Versions: qpid-java-6.0, 0.32, qpid-java-6.1
Reporter: Alex Rudyy
The failure of test BDBHAVirtualHostNodeRestTest.testIntruderProtection reviled that BDB HA VHN close could be delayed by REF close waiting for state change executor shutdown when change executor shutdown is performing task for state change event.
On state change state change executor invokes BDBHAVirtualHostNodeImpl.EnvironmentStateChangeListener#stateChange and waits for operation to finish. If operation invokes configuration thread to do the work and waits for its finish and, at the same time when, REF#close is performed in config-thread, for example, because of intruder protection, the two threads block each other.
Config thread performing in REF#close() is waiting for state change thread to finish and state change thread is waiting for config thread to finish submitted state change task.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org