Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Have migrate_node optionally delete individual user data before migrating #596

Closed
pjenvey opened this issue Apr 17, 2020 · 0 comments · Fixed by #597
Closed

Have migrate_node optionally delete individual user data before migrating #596

pjenvey opened this issue Apr 17, 2020 · 0 comments · Fixed by #597
Assignees
Labels
enhancement New feature or request

Comments

@pjenvey
Copy link
Member

pjenvey commented Apr 17, 2020

Per mozilla-services/services-engineering#45 (comment) and after a discussion w/ @Micheletto:

When testing migrations of individual users, we need to cleanup their initial Sync data created in Spanner during their account creation/first sync. Let's ensure this is done in a safe manner (and easily integrated into ops' migration workflow) by adding an option to migrate_node.py to delete this data prior to migrating their current data from a legacy node.

We'll test migration w/ this option on stage first ourselves, then utilize it on prod when Vasilica's team runs through their migration tests.

@pjenvey pjenvey added the enhancement New feature or request label Apr 17, 2020
@pjenvey pjenvey self-assigned this Apr 17, 2020
@pjenvey pjenvey added this to Backlog: Misc in Services Engineering via automation Apr 17, 2020
pjenvey added a commit that referenced this issue Apr 20, 2020
deletes pre-existing user data on spanner before migrating. only usable
in --user mode.

Closes #596
pjenvey added a commit that referenced this issue Apr 20, 2020
deletes pre-existing user data on spanner before migrating. only usable
in --user mode.

and fix parsing of the new gen_fxa_users.py output

Closes #596
@pjenvey pjenvey moved this from Backlog: Misc to In Progress in Services Engineering Apr 20, 2020
@pjenvey pjenvey moved this from In Progress to In Review in Services Engineering Apr 20, 2020
Services Engineering automation moved this from In Review to Done Apr 21, 2020
@tublitzed tublitzed moved this from Done to Archived in Services Engineering Apr 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

Successfully merging a pull request may close this issue.

1 participant