Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Always set 'wasMigrated' to false in the Glean SDK #4511

Merged
merged 1 commit into from
Sep 24, 2019

Conversation

Dexterp37
Copy link
Contributor

This is only useful as a safety measure in case the data migration plan goes wrong and we're forced to downgrade the version Glean SDK consumers are using from glean-core to glean-ac. In that case, this code will run and will reset the status of the migration. When attempting the upgrade again, glean-core will perform the migration one more time.


Pull Request checklist

  • Quality: This PR builds and passes detekt/ktlint checks (A pre-push hook is recommended)
  • Tests: This PR includes thorough tests or an explanation of why it does not
  • Changelog: This PR includes a changelog entry or does not need one
  • Accessibility: The code in this PR follows accessibility best practices or does not include any user facing features

After merge

  • Milestone: Make sure issues closed by this pull request are added to the milestone of the version currently in development.
  • Breaking Changes: If this is a breaking change, please push a draft PR on Reference Browser to address the breaking issues.

This is only useful as a safety measure in case the data migration plan goes
wrong and we're forced to downgrade the version Glean SDK consumers are using
from glean-core to glean-ac. In that case, this code will run and will reset
the status of the migration. When attempting the upgrade again, glean-core
will perform the migration one more time.
@Dexterp37 Dexterp37 requested review from badboy and mdboom September 24, 2019 10:15
@Dexterp37 Dexterp37 requested a review from a team as a code owner September 24, 2019 10:15
@Dexterp37
Copy link
Contributor Author

This is a complement to mozilla/glean#309

@Dexterp37
Copy link
Contributor Author

bors r+

bors bot pushed a commit that referenced this pull request Sep 24, 2019
4511: Always set 'wasMigrated' to false in the Glean SDK r=Dexterp37 a=Dexterp37

This is only useful as a safety measure in case the data migration plan goes wrong and we're forced to downgrade the version Glean SDK consumers are using from glean-core to glean-ac. In that case, this code will run and will reset the status of the migration. When attempting the upgrade again, glean-core will perform the migration one more time.




Co-authored-by: Alessio Placitelli <alessio.placitelli@gmail.com>
@bors
Copy link

bors bot commented Sep 24, 2019

Build succeeded

@bors bors bot merged commit 51bbe43 into mozilla-mobile:master Sep 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants