Merge "ovn: Add TODO to remove Port Groups migration"

This commit is contained in:
Zuul 2020-07-07 19:16:29 +00:00 committed by Gerrit Code Review
commit a3c7aad790

View File

@ -277,6 +277,8 @@ class DBInconsistenciesPeriodics(SchemaAwarePeriodicsBase):
# The migration will run just once per neutron-server instance. If the lock # The migration will run just once per neutron-server instance. If the lock
# is held by some other neutron-server instance in the cloud, we'll attempt # is held by some other neutron-server instance in the cloud, we'll attempt
# to perform the migration every 10 seconds until completed. # to perform the migration every 10 seconds until completed.
# TODO(jlibosva): Remove the migration to port groups at some point. It's
# been around since Queens release so it is good to drop this soon.
@periodics.periodic(spacing=10, run_immediately=True) @periodics.periodic(spacing=10, run_immediately=True)
@rerun_on_schema_updates @rerun_on_schema_updates
def migrate_to_port_groups(self): def migrate_to_port_groups(self):