Update git submodules
* Update placement from branch 'master' - Add online-data-migration DB commands Placement uses alembic to manage the DB version for schema changes. However, changes with data manupulation should be separated from the schema changes since the table can be locked and in the worst case it breaks the service for backward incompatible changes. We could handle them as a task that is done in a service down time. However, to minimize the down time, it is better to have the concepts of online data migration which has been a traditional way to handle those data manipulation changes in nova. This patch adds online data migration command to placement to enable operators to manipulate DB data while the service is running: placement-manage db online_data_migrations [--max-count] where --max-count controls the maximum number of objects to migrate in a given call. If not specified, migration will occur in batches of 50 until fully complete. Change-Id: I9cef6829513d9a54d110426baf6bcc312554e3e7
This commit is contained in:
parent
1edb00aa7a
commit
b881f8638e
|
@ -1 +1 @@
|
|||
Subproject commit 326b5cf38c02cec1f2330cb2fb8604192a238a8a
|
||||
Subproject commit 80fa50187add026578ea204578289ea077ebad32
|
Loading…
Reference in New Issue