]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Reorg table ml2_port_bindings when db migration
authorwangbo <wbwangbo@cn.ibm.com>
Mon, 12 May 2014 07:18:03 +0000 (15:18 +0800)
committerwangbo <wbwangbo@cn.ibm.com>
Sun, 18 May 2014 14:02:25 +0000 (22:02 +0800)
commit4a5da930e8baf1b370a6aab32fedb7f7bfb40930
tree195596eff09ed1ced1482148c8bc87e7851d7f1b
parentf80c2b802e5f15560c30a67de3f4a16a3a30ce32
Reorg table ml2_port_bindings when db migration

For DB2, there are restrictions on table access
after ALTER TABLE statements containing
REORG-recommended operations.
Table will be placed in "reorg pending" state
after some continuous alter table operations.
Need run reorg table to make the table available.
More info refer to:
http://publib.boulder.ibm.com/infocenter/db2luw/v9/index.jsp
?topic=%2Fcom.ibm.db2.udb.admin.doc%2Fdoc%2Fc0023297.htm

Change-Id: I7fdd61bb4d636d7a3260c0b23152f1f3083cdcfd
Fixes: bug #1318498
neutron/db/migration/alembic_migrations/versions/50d5ba354c23_ml2_binding_vif_details.py