Kim van der Riet created QPID-4490: -------------------------------------- Summary: 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-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org