Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 702548 Details for
Bug 823489
qpid-config always sends journal parameters to broker
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Remove defaults from fileSize and fileCount argument for durable queues
qpid-config-bz823489.patch (text/plain), 2.42 KB, created by
Ernie
on 2013-02-25 22:47:32 UTC
(
hide
)
Description:
Remove defaults from fileSize and fileCount argument for durable queues
Filename:
MIME Type:
Creator:
Ernie
Created:
2013-02-25 22:47:32 UTC
Size:
2.42 KB
patch
obsolete
>Index: qpid/tools/src/py/qpid-config >=================================================================== >--- qpid/tools/src/py/qpid-config (revision 1449804) >+++ qpid/tools/src/py/qpid-config (working copy) >@@ -91,8 +91,8 @@ > self._clusterDurable = False > self._if_empty = True > self._if_unused = True >- self._fileCount = 8 >- self._fileSize = 24 >+ self._fileCount = None >+ self._fileSize = None > self._maxQueueSize = None > self._maxQueueCount = None > self._limitPolicy = None >@@ -194,8 +194,8 @@ > > group3 = OptionGroup(parser, "Options for Adding Queues") > group3.add_option("--cluster-durable", action="store_true", help="The new queue becomes durable if there is only one functioning cluster node") >- group3.add_option("--file-count", action="store", type="int", default=8, metavar="<n>", help="Number of files in queue's persistence journal") >- group3.add_option("--file-size", action="store", type="int", default=24, metavar="<n>", help="File size in pages (64KiB/page)") >+ group3.add_option("--file-count", action="store", type="int", metavar="<n>", help="Number of files in queue's persistence journal") >+ group3.add_option("--file-size", action="store", type="int", metavar="<n>", help="File size in pages (64KiB/page)") > group3.add_option("--max-queue-size", action="store", type="int", metavar="<n>", help="Maximum in-memory queue size as bytes") > group3.add_option("--max-queue-count", action="store", type="int", metavar="<n>", help="Maximum in-memory queue size as a number of messages") > group3.add_option("--limit-policy", action="store", choices=["none", "reject", "flow-to-disk", "ring", "ring-strict"], metavar="<policy>", help="Action to take when queue limit is reached") >@@ -570,8 +570,12 @@ > declArgs[r[0]] = value > > if config._durable: >- declArgs[FILECOUNT] = config._fileCount >- declArgs[FILESIZE] = config._fileSize >+ # allow the default fileCount and fileSize specified >+ # in qpid config file to take prededence >+ if config._fileCount: >+ declArgs[FILECOUNT] = config._fileCount >+ if config._fileSize: >+ declArgs[FILESIZE] = config._fileSize > > if config._maxQueueSize is not None: > declArgs[MAX_QUEUE_SIZE] = config._maxQueueSize
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 823489
: 702548