| Summary: | --limit-policy=flow-to-disk is not applicable for non-durable queues | ||
|---|---|---|---|
| Product: | Red Hat Enterprise MRG | Reporter: | Leonid Zhaldybin <lzhaldyb> |
| Component: | Messaging_Installation_and_Configuration_Guide | Assignee: | Jared MORGAN <jmorgan> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Eric Sammons <esammons> |
| Severity: | high | Docs Contact: | |
| Priority: | medium | ||
| Version: | 2.1 | CC: | esammons, jross, mmurray, pematous |
| Target Milestone: | 2.3.4 | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-01-22 15:27:58 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Leonid Zhaldybin
2012-02-01 17:09:38 UTC
The flow-to-disk mode only works on durable queues. The documentation quoted above is incorrect. Only durable queues have an active journal associated with them, and this is needed to write and recover flowed messages. When no store is present for a queue, there is no option available to a queue but to reject the message. Note that a distinction must be made between the persistence of queues and of the messages on that queue. If a queue is non-persistent, then none of the messages will be persisted, no matter the persistence status of each message. However, if a queue is persistent, then the persistence status of the message determines whether a message will be persisted. For flow-to-disk messages, when the limit is reached, both persistent and non-persistent messages will be stored. The above documentation link is stale. It is possible that the documentation is meant to say "can apply to both persistent and non-persistent _messages_". I recommend opening a documentation bug. It is also possible that the queue logic that handles the policy should warn if flow-to-disk policies are used on non-persistent queues at the time the queue is declared. I recommend changing this bug to CLOSED - NOTABUG. I'm changing this into a documentation bug. The MCIG chapter "4.9.1. Controlling Queue Size" contains the description of flow-to-disk policy without stating that it is applicable to durable queues only. The information provided by Kim in comment 2 should be added to the documentation. Added notes "effective only on durable queues" and "the messages stored to disk are not persistent unless the message is marked persistent." http://deathstar1.usersys.redhat.com:3000/builds/7069-Messaging_Installation_and_Configuration_Guide/#Controlling_Queue_Size |