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
2013-07-19 11:10:53 -04:00
2013-06-03 12:39:22 -04:00
2012-11-01 09:52:20 +01:00
2012-11-01 09:52:20 +01:00
2013-05-13 16:58:36 +02:00
2013-08-12 17:58:58 +02:00
2013-06-14 16:04:02 +02:00
2013-06-14 14:14:42 +02:00
2013-08-01 16:17:31 -04:00

Marconi

Message queuing service for OpenStack

Running a local Marconi server with MongoDB

  1. Install MongoDB

  2. Start a MongoDB instance:

    mongod
  3. Clone the Marconi repo:

    git clone https://github.com/stackforge/marconi.git
  4. cd to your local copy of the repo

  5. Copy the Marconi config files to the directory ~/.marconi:

    cp -r marconi/etc/*.conf-sample ~/.marconi/marconi.conf
  6. Find the [drivers:storage:mongodb] section in ~/.marconi/marconi.conf and modify the URI to point to your local mongod instance:

    uri = mongodb://localhost
  7. Run the following so you can see the results of any changes you make to the code, without having to reinstall the package each time:

    python setup.py develop
  8. Start the marconi server:

    marconi-server
Description
OpenStack Messaging (Zaqar)
Readme 46 MiB
Languages
Python 96.1%
PHP 1.5%
Shell 1.2%
HTML 0.8%
Lua 0.3%