Add TTL to AMQP messages

Bug #1053614 reported by Russell Bryant
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
oslo-incubator
Fix Released
Medium
Brent Eagles
Grizzly
Fix Released
Medium
Brent Eagles

Bug Description

Both RabbitMQ and Qpid support adding a TTL to messages. The TTL allows us to set an amount of time a message can sit in a queue before expiring and getting deleted. The particular case where I think this would be useful is any time that we do an rpc.call(). In that case, we already have a timeout defined for how long we wait for a response before we give up and move on. If the message for a call() has not been pulled from a queue when we hit the timeout, ideally it *never* gets processed. A TTL would accomplish that. There is still the possibility that we time out in the middle of a message being processed, but this would still be an improvement.

Mark McLoughlin (markmc)
affects: openstack-common → oslo
Mark McLoughlin (markmc)
tags: added: rpc-api-review
Changed in oslo:
status: New → Confirmed
importance: Undecided → Medium
Brent Eagles (beagles)
Changed in oslo:
assignee: nobody → Brent Eagles (beagles)
Brent Eagles (beagles)
Changed in oslo:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to oslo-incubator (master)

Fix proposed to branch: master
Review: https://review.openstack.org/20625

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to oslo-incubator (master)

Reviewed: https://review.openstack.org/20625
Committed: http://github.com/openstack/oslo-incubator/commit/30a50c8a6c534f01d518eb3ce4cf0d35877d9a7f
Submitter: Jenkins
Branch: master

commit 30a50c8a6c534f01d518eb3ce4cf0d35877d9a7f
Author: Brent Eagles <email address hidden>
Date: Mon Jan 28 13:34:55 2013 -0330

    Add TTL to AMQP messages

    This patch sets a TTL derived from the timeout parameter used
    when invoking the RPC.

    Needed for:
     * Bug 1053614

    Change-Id: Idaf9a2a972feac3f95f170c52632033b027b4414

Changed in oslo:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in oslo:
milestone: none → grizzly-3
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.