[mongo] Delete claimed message fails

Bug #1247297 reported by Kurt Griffiths
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
zaqar
Fix Released
High
Kurt Griffiths

Bug Description

If a claimed message hasn't been replicated to the secondary yet when the client attempts to delete it with a claim ID, the operation will fail since the claim ID will not match.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to marconi (master)

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

Changed in marconi:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to marconi (master)

Reviewed: https://review.openstack.org/55001
Committed: http://github.com/openstack/marconi/commit/9ccce28148eebd7e5d0532f3c07e35eeec770add
Submitter: Jenkins
Branch: master

commit 9ccce28148eebd7e5d0532f3c07e35eeec770add
Author: kgriffs <email address hidden>
Date: Fri Nov 1 18:12:52 2013 -0500

    fix(mongo): Delete claimed message fails

    This patch adds an additional check on the primary node for the correct
    claim ID if it fails to match on the secondary. This takes care of the
    case when the claimed version of the message document has not yet been
    replicated to the secondary before the client attempts to delete it.

    Change-Id: Ia22562532351a36bedc980c7c6041517207b2723
    Closes-Bug: #1247297

Changed in marconi:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in marconi:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in marconi:
milestone: icehouse-1 → 2014.1
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.