Applying module again writes new instance_modules record

Bug #1640010 reported by Peter Stachowski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack DBaaS (Trove)
Fix Released
High
Peter Stachowski

Bug Description

The module feature of Trove has been designed to be idempotent, in that a module should be able to be applied more than once will no ill side effects. Unfortunately a new instance_modules record is written for each apply, potentially leaving records behind on module-remove that make it impossible to delete the module.

Changed in trove:
assignee: nobody → Peter Stachowski (peterstac)
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to trove (master)

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

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

Reviewed: https://review.openstack.org/394765
Committed: https://git.openstack.org/cgit/openstack/trove/commit/?id=2f3703bb34810eb8fd8b1f8cac45ee425168ff13
Submitter: Jenkins
Branch: master

commit 2f3703bb34810eb8fd8b1f8cac45ee425168ff13
Author: Peter Stachowski <email address hidden>
Date: Tue Nov 8 05:26:58 2016 +0000

    Fix module apply

    The module feature of Trove has been designed to be idempotent, in
    that a module should be able to be applied more than once with no ill
    side effects. Unfortunately a new instance_modules record is written
    for each apply, potentially leaving records behind on module-remove
    that make it impossible to delete the module.

    This has been fixed and code put in place on module-apply and
    module-delete to remove any extraneous records.

    Depends-On: Ia4fc545a10c7c16532aefd73818dd7d90c9c271b
    Change-Id: I09b301c1fb8311f9c5bee07d0af398071da3dd24
    Closes-Bug: #1640010

Changed in trove:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/trove 7.0.0.0b2

This issue was fixed in the openstack/trove 7.0.0.0b2 development milestone.

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.