Skip to content

backfill uuid script#69294

Draft
alex-m-brown wants to merge 3 commits into
stagingfrom
backfill-project-uuid
Draft

backfill uuid script#69294
alex-m-brown wants to merge 3 commits into
stagingfrom
backfill-project-uuid

Conversation

@alex-m-brown

@alex-m-brown alex-m-brown commented Nov 4, 2025

Copy link
Copy Markdown
Contributor

This is the fourth PR in a series of PRs to migrate our existing channel token system for projects to unique identifiers. This PR adds a script to backfill project UUIDs.

There are about 1.4 billion records in the Projects table. Limited at 1000 records/second, it will take at least 16 days to complete this backfill. On a production-cloned adhoc, backfilling 1 million records took 3 hours. At that rate, it will take 6 months of straight backfill to complete.

Links

Testing story

  • Manually verified partial backfill on a production-cloned adhoc

Follow-up work

Now that all projects have UUIDs, we can continue on to removing legacy channel token support.
4. Update the UUID column to be non-null
5. Eventually completely remove old channel token support

Privacy and Security

This PR is the third step in further securing our projects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant