Bug 1609964 - [GSS](6.4.z) tearDown may interrupt wrong threads after failures
Summary: [GSS](6.4.z) tearDown may interrupt wrong threads after failures
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: HornetQ
Version: 6.4.21
Hardware: All
OS: Linux
high
urgent
Target Milestone: CR1
: EAP 6.4.21
Assignee: jboss-set
QA Contact: Peter Mackay
URL:
Whiteboard:
Depends On:
Blocks: eap6421-payload 1610346 1610355
TreeView+ depends on / blocked
 
Reported: 2018-07-30 22:09 UTC by Clebert Suconic
Modified: 2021-12-10 16:49 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-08-19 12:40:51 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker JBEAP-15274 0 Major New [GSS](7.2.z) ARTEMIS-2039 - tearDown may interrupt wrong threads after failures 2019-02-28 07:16:03 UTC

Description Clebert Suconic 2018-07-30 22:09:44 UTC
Description of problem:

If a failover is happening, and consumers are stuck for any reason during the process, HornetQ might issue interrupts on wrong threads.
This is because the list of threads is captured before a time wait what could cause issues with the system is the thread doen't belong to the consumer any longer.

Version-Release number of selected component (if applicable):



How reproducible:

On a MDB that's receiving messages and sending messages to a remote node, pull the cable (or disable network). and make failover happen to a backup.

Steps to Reproduce:
1. Deploy the MDB on that condition
2. Pull the network cable
3. failover that server.


Actual results:

JCA will have connections into invalid state. You will get exception on an infinite loop.

There's a secondary issue here as those connections shouldn't come back to the pool.

Expected results:

Connections to reconnect successfully without

Additional info:


Note You need to log in before you can comment on or make changes to this bug.