Bug 862899 - [RFE] Extend the qpidd --wait option to work at shutdown
Summary: [RFE] Extend the qpidd --wait option to work at shutdown
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-cpp
Version: 2.2
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: 3.0
: ---
Assignee: Ernie
QA Contact: Leonid Zhaldybin
URL:
Whiteboard:
Depends On:
Blocks: 785156
TreeView+ depends on / blocked
 
Reported: 2012-10-03 20:34 UTC by Stuart Auchterlonie
Modified: 2018-12-06 14:50 UTC (History)
8 users (show)

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.
Clone Of:
: 957961 (view as bug list)
Environment:
Last Closed: 2014-09-24 15:04:48 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
trivial patch (2.78 KB, patch)
2012-10-18 08:57 UTC, Pavel Moravec
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Apache JIRA QPID-4758 0 None None None Never
Red Hat Knowledge Base (Solution) 238093 0 None None None Never
Red Hat Product Errata RHEA-2014:1296 0 normal SHIPPED_LIVE Red Hat Enterprise MRG Messaging 3.0 Release 2014-09-24 19:00:06 UTC

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


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