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.

  1. All writes go to the new flow. This should be server-enforced, but also can be client.
  2. If necessary, all reads do a read from the new flow and fall back to the old flow
  3. 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.
  4. Remove all references to the old flow.