You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Kim van der Riet (JIRA)" <ji...@apache.org> on 2012/12/05 17:34:59 UTC

[jira] [Resolved] (QPID-4490) Durable messages with TTL do not expire after broker recovery (c++ store)

     [ https://issues.apache.org/jira/browse/QPID-4490?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kim van der Riet resolved QPID-4490.
------------------------------------

    Resolution: Fixed

Fixed in r.1417511 (qpid) and r.4522 (store)
                
> Durable messages with TTL do not expire after broker recovery (c++ store)
> -------------------------------------------------------------------------
>
>                 Key: QPID-4490
>                 URL: https://issues.apache.org/jira/browse/QPID-4490
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>            Reporter: Kim van der Riet
>            Assignee: Kim van der Riet
>
> Durable messages with TTL which are later recovered from the c++ store do not expire. The following demonstrates:
> 1. Start broker:
> ./qpidd --load-module msgstore.so --auth no --log-enable info+
> 2. Run client to send two messages:
> ./qpid-send -m 2 --ttl 100000 --durable yes -a "test; {create: always, node: {durable: True}}"
> 3. Stop and restart broker, recovering the messages.
> 4. Run client to receive messages one at a time:
> ./qpid-receive -m 1 --print-header yes -a test
> TTL: 100000
> Durable: true
> Redelivered: true
> Properties: {sn:1, ts:1354716748759170497, x-amqp-0-10.routing-key:test}
> ./qpid-receive -m 1 --print-header yes -a test
> TTL: 100000
> Durable: true
> Redelivered: true
> Properties: {sn:2, ts:1354716748759340826, x-amqp-0-10.routing-key:test}
> For both messages the TTL of the recovered messages is set to 100000 (the initial setting), but the timer is not running, and the TTL never decreases.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org