zaqar/marconi
Alejandro Cabrera ed40dfd17c fix(storage/mongo): unclaimed messages not listed
Adds a unit test that reproduces this error and applies the fix.

The fix is subtle. When messages are unclaimed, their claim expiration
time and claim ID are set to 0 and None respectively. The cause for
the bug is that claim expiration time is set to 0, rather than a valid
datetime object. As a result, the comparison silently fails.

The fix: fast-forward the expiration time of a claim to now.

Change-Id: I7781795c394b2a471012e072a522ee228d56a894
Closes-Bug: #1210633
2013-08-12 16:09:31 -04:00
..
cmd Factor out entry point helper and apply to marconi.cmd.server 2013-07-03 00:08:16 +00:00
common feat(validation): validate user input 2013-08-12 09:32:56 -04:00
openstack Update oslo-incubator requirements 2013-08-09 12:30:56 +02:00
storage fix(storage/mongo): unclaimed messages not listed 2013-08-12 16:09:31 -04:00
tests fix(storage/mongo): unclaimed messages not listed 2013-08-12 16:09:31 -04:00
transport feat(validation): validate user input 2013-08-12 09:32:56 -04:00
__init__.py Added some de-facto style guidelines to HACKING and fixed violations 2013-06-17 09:58:30 -04:00
bootstrap.py Log all transport actions 2013-07-16 12:11:49 +02:00
version.py Migrate to pbr 2013-06-14 14:14:42 +02:00