Bug 1041777 - [RFE][glance]: Clean up db code in glance
Summary: [RFE][glance]: Clean up db code in glance
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: RFEs
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: RHOS Maint
QA Contact:
URL: https://blueprints.launchpad.net/glan...
Whiteboard: upstream_milestone_next upstream_stat...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-12 19:16 UTC by RHOS Integration
Modified: 2015-03-19 17:11 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-19 17:11:46 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description RHOS Integration 2013-12-12 19:16:48 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/glance/+spec/db-cleanup.

Description:

This is the base BP for others BP, that should collect all other BPs around DB.

This work was done in nova and should be done in Glance also:

1) use oslo db code 
2) provide unique constraints
3) shadow tables, to remove deleted rows from table
4) migration tests on all backends with real data
in feature (after nova implementation):
5) sync db models with real tables after db-migrations and add tests that checks this.
6) check indexes (add or remove for better performance)




Specification URL (additional information):

None


Note You need to log in before you can comment on or make changes to this bug.