Handle missing marker during online data migration
During upgrade the instance used by the request spec marker could be
deleted and purged between sessions. This would cause the database
online data migration to fail as the marker instance couldn't be found.
Fix by handling the MarkerNotFound exception and re-trying without the
marker. This will go through all the instances and reset the marker when
done.
Closes-Bug: #1793419
Change-Id: If96e3d038346f16cc93209bccf3db028bacfe59b
Signed-off-by: Jack Ding <email address hidden>
Reviewed: https:/ /review. openstack. org/605164 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=ff03b157b93 0de23e5912802cb fbc86889c869c2
Committed: https:/
Submitter: Zuul
Branch: master
commit ff03b157b930de2 3e5912802cbfbc8 6889c869c2
Author: Jack Ding <email address hidden>
Date: Tue Sep 25 13:20:25 2018 -0400
Handle missing marker during online data migration
During upgrade the instance used by the request spec marker could be
deleted and purged between sessions. This would cause the database
online data migration to fail as the marker instance couldn't be found.
Fix by handling the MarkerNotFound exception and re-trying without the
marker. This will go through all the instances and reset the marker when
done.
Closes-Bug: #1793419 6cc93209bccf3db 028bacfe59b
Change-Id: If96e3d038346f1
Signed-off-by: Jack Ding <email address hidden>