]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
[neutron-db-manage] check_migration: validate labels
authorIhar Hrachyshka <ihrachys@redhat.com>
Tue, 28 Jul 2015 22:16:17 +0000 (00:16 +0200)
committerIhar Hrachyshka <ihrachys@redhat.com>
Thu, 13 Aug 2015 14:51:44 +0000 (16:51 +0200)
commite9468fcd0c7c6028a4a4dc72ae42b2b7cf80ec9f
tree6846e4705484ff0ccea1f7569dcd26678d482f0f
parent603c0d03aed5fdeefb471086c0aef879938f9641
[neutron-db-manage] check_migration: validate labels

Guard against potential down_revision interleave by checking that each
revision has the only revision that corresponds to its location in the
migration tree, and that its parent also has that same single label.

Partially-Implements: blueprint online-schema-migrations
Change-Id: Ia812e8283f4da955610fe043aba3ad0298ede24b
neutron/db/migration/cli.py
neutron/tests/unit/db/test_migration.py