[mongo] Delete claimed message fails

Bug #1247297 reported by Kurt Griffiths on 2013-11-01
This bug affects 1 person
Affects Status Importance Assigned to Milestone
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.

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

Changed in marconi:
status: Triaged → In Progress

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) on 2013-12-19
Changed in marconi:
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2014-04-17
Changed in marconi:
milestone: icehouse-1 → 2014.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers