Bug 862899

Summary: [RFE] Extend the qpidd --wait option to work at shutdown
Product: Red Hat Enterprise MRG Reporter: Stuart Auchterlonie <sauchter>
Component: qpid-cppAssignee: Ernie <eallen>
Status: CLOSED ERRATA QA Contact: Leonid Zhaldybin <lzhaldyb>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.2CC: crolke, esammons, iboverma, jross, jwulf, lzhaldyb, pmoravec, rbinkhor
Target Milestone: 3.0Keywords: EasyFix, FutureFeature, Patch, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: qpid-cpp-0.22-4.el6, qpid-cpp-0.22-4.el5 Doc Type: Enhancement
Doc Text:
It is now possible to use the --wait option available in C++ Brokers to control both startup and shutdown wait times. Brokers with large databases and process spaces may take longer than the hard-coded 10 seconds to shut down successfully. Enabling the --wait option to use it's value in the shutdown timer allows users to specify the shutdown wait time beyond 10 seconds. This allows users to successfully shut down large-scale brokers without error.
Story Points: ---
Clone Of:
: 957961 (view as bug list) Environment:
Last Closed: 2014-09-24 15:04:48 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:    
Bug Blocks: 785156    
Attachments:
Description Flags
trivial patch none

Comment 2 Pavel Moravec 2012-10-18 08:57:43 UTC
Created attachment 629242 [details]
trivial patch

Trivial patch for qpid 0.18: instead of waiting 10 seconds during shutdown, --wait option is taken into account.

One further documentation fix for the same is included.

Comment 5 Justin Ross 2012-11-06 20:00:29 UTC
Approving this for 2.4, but keep in mind that the command line interface may change.

Comment 6 Ernie 2013-03-20 18:32:04 UTC
Compiles and works on trunk. Note: the patch is reversed so use the -R option on the patch command line to apply.

Comment 7 Chuck Rolke 2013-04-24 14:49:01 UTC
Fixed upstream at Committed revision 1471442.

Comment 11 Leonid Zhaldybin 2013-07-25 13:46:22 UTC
Tested on RHEL6.4 (both i386 x86_64). This feature was implemented and works as expected. When the qpidd is started with the options "-q --wait N", it waits for N seconds for the running qpidd broker to shut down.

Packages used for testing:

python-qpid-0.22-4.el6
python-qpid-qmf-0.22-6.el6
qpid-cpp-client-0.22-7.el6
qpid-cpp-client-devel-0.22-7.el6
qpid-cpp-client-devel-docs-0.22-7.el6
qpid-cpp-client-rdma-0.22-7.el6
qpid-cpp-client-ssl-0.22-7.el6
qpid-cpp-server-0.22-7.el6
qpid-cpp-server-devel-0.22-7.el6
qpid-cpp-server-ha-0.22-7.el6
qpid-cpp-server-rdma-0.22-7.el6
qpid-cpp-server-ssl-0.22-7.el6
qpid-cpp-server-store-0.22-7.el6
qpid-cpp-server-xml-0.22-7.el6
qpid-java-client-0.22-4.el6
qpid-java-common-0.22-4.el6
qpid-java-example-0.22-4.el6
qpid-proton-c-0.4-2.2.el6
qpid-qmf-0.22-6.el6
qpid-qmf-devel-0.22-6.el6
qpid-tools-0.22-3.el6

-> VERIFIED

Comment 12 errata-xmlrpc 2014-09-24 15:04:48 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2014-1296.html