Bug 1149936

Summary: [GSS] (6.3.z) Possible orphaned Consumers (from sessions and connections)
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Clebert Suconic <csuconic>
Component: HornetQAssignee: Clebert Suconic <csuconic>
Status: CLOSED CURRENTRELEASE QA Contact: Miroslav Novak <mnovak>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.3.1CC: istudens, msvehla, myarboro
Target Milestone: CR1   
Target Release: EAP 6.3.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1151466 (view as bug list) Environment:
Last Closed: 2019-08-19 12:43:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1151466    
Bug Blocks: 1149127, 1151405, 1203703    

Description Clebert Suconic 2014-10-07 00:57:59 UTC
Description of problem:
We have been reported about cases where the consumer is orphaned from their sessions and connections

The only scenario so far I could see this happening was while blocking on HORNETQ-1379, or in case of an exception during a close (that I couldn't find in any logs, but I'm playing with that possibility anyways).

As a fix we should make sure we only remove connections and sessions at the end of the loop, and making sure we are resilient about failures on consumer.close();

A ByteMan test should be added to verify this issue

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


How reproducible:

We couldn't naturally reproduce the issue, but we created a Byteman test that will be part of the commit


Steps to Reproduce:

it will be part of the testsuite. just run the testsuite

Comment 3 Clebert Suconic 2014-10-10 13:26:06 UTC
Putnam is requesting this for their next upgrade. I think it will be 6.3.2?

On that case this needs to be marked as blocker for that release?

Comment 7 JBoss JIRA Server 2014-10-30 15:59:09 UTC
Clebert Suconic <clebert.suconic> updated the status of jira HORNETQ-1427 to Closed

Comment 10 Miroslav Novak 2015-01-19 15:32:57 UTC
Verified in EAP 6.3.3.CP.CR1 using OrphanedConsumerTest. Thanks for it!