Drop unused PostgresSQL sequences from Folsom
Bug #1080786 reported by
Dan Prince
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Dan Prince |
Bug Description
The Nova Folsom database migrations left a couple unused sequences in the PostgreSQL schema. Specifically the snapshots_id_seq and volumes_id_seq are unused and when using PostgreSQL should probably be dropped from the schema.
The reason we don't need these sequences anymore is that the 'id' columns in the snapshots and volumes tables are now handled as UUID strings instead of auto increasing integers.
The fix seems to be to run the following for PostgreSQL:
DROP SEQUENCE snapshots_id_seq CASCADE;
DROP SEQUENCE volumes_id_seq CASCADE;
Changed in nova: | |
assignee: | nobody → Dan Prince (dan-prince) |
importance: | Undecided → Medium |
status: | New → In Progress |
Changed in nova: | |
milestone: | none → grizzly-1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | grizzly-1 → 2013.1 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/16443
Review: https:/