Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Add a strict-migration feature flag #7176
Conversation
|
$$merge$$ |
|
Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju |
|
Build failed: Tests failed |
|
Scary but true... I suspect that it is actually a failure related to the patch: migration_internal_test.go:335: OOPS: 1845 passed, 1 skipped, 1 FAILED |
|
$$merge$$ |
|
Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju |
|
Build failed: Tests failed |
|
$$wat?$$ |
|
Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju |
howbazaar commentedMar 30, 2017
Description of change
This branch adds a strict validation check to migrations it ensure that all status, status history, annotations, and settings are exported.
During this change, it was identified that the unit workload version was not using the status documents already retrieved, and also that the cloud instance status was being migrated from the wrong place. The Status field in the instanceDoc was depricated, but not removed, nor even mentioned that it was deprecated. This branch removes it from the instanceDoc, and updates the migration code to migrate the status and status history for the instance status.
Documentation changes
None.