migrations
this article was written by: andrew
they started writing it: Oct 21, 2024
it was last updated: Oct 21, 2024
So, you are running a migration.
- All writes go to the new flow. This should be server-enforced, but also can be client.
- If necessary, all reads do a read from the new flow and fall back to the old flow
- Backfill all old data to new data. This is important to reduce mental complexity of the system. Unless the backfill is crazy complicated and/or will take too much time.
- Remove all references to the old flow.