Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 610125 - RFE: Cleaner QMF shutdown API
RFE: Cleaner QMF shutdown API
Status: NEW
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-qmf (Show other bugs)
Development
All Linux
low Severity medium
: ---
: ---
Assigned To: messaging-bugs
MRG Quality Engineering
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2010-07-01 11:31 EDT by Robert Rati
Modified: 2011-08-12 12:05 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Robert Rati 2010-07-01 11:31:55 EDT
Description of problem:
The python qmf api requires that the calling program keep track of all brokers created via the addBroker api call and then call deLBroker on all those brokers before exit, or else very likely see a threading exception (https://bugzilla.redhat.com/show_bug.cgi?id=587166).  The tracking of all broker objects is onerous on the program using the API.

A session.close() that automatically cleans up all allocated brokers would be an improvement, but a better solution would be for the python API to clean up after itself on shutdown.  The python api is doing threading under the hood and the api should be cleanly handling shutdown if those threads so as to prevent a threading exception even if the calling program exits without cleaning up its brokers.

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


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

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