commit 47061e699b9dbf6fdeea572a5abeaa72e499ec87
Author: Matt Riedemann <email address hidden>
Date: Wed Feb 27 16:24:24 2019 -0500
Optimize populate_queued_for_delete online data migration
The data migration was needlessly querying the cell database
for instances even if there were no instance mappings in that
database that needed to be migrated. This simply continues to
the next cell if the instance mappings in the current cell are
migrated.
While we're in here, the joinedload on 'cell_mapping' can be
removed since it's not used.
Reviewed: https:/ /review. openstack. org/639840 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=47061e699b9 dbf6fdeea572a5a beaa72e499ec87
Committed: https:/
Submitter: Zuul
Branch: master
commit 47061e699b9dbf6 fdeea572a5abeaa 72e499ec87
Author: Matt Riedemann <email address hidden>
Date: Wed Feb 27 16:24:24 2019 -0500
Optimize populate_ queued_ for_delete online data migration
The data migration was needlessly querying the cell database
for instances even if there were no instance mappings in that
database that needed to be migrated. This simply continues to
the next cell if the instance mappings in the current cell are
migrated.
While we're in here, the joinedload on 'cell_mapping' can be
removed since it's not used.
Closes-Bug: #1817961
Change-Id: Idf35ed9d57945b c80fbd47393b7de 076330160e6