> Also, it'd be nice to have locally replicated DO sqlite files for debugging. Maybe with something

Also, it'd be nice to have locally replicated DO sqlite files for debugging. Maybe with something like wrangler do --namespace <ns> read <id> <db.sqlite>
You mean, doing an export/dump/copy right once? You don't expect things to be replicated locally in real time when changes happen remotely.

After the DO gets evicted, next time it's accessed, if there was already a read replica in the new data center, that replica gets promoted to write leader.
This is something that we are thinking about but not as part of read replication. Moving the primary should take into account more than just a single request, so it wouldn't work like that, but yeah the team at some points wants to be able to move primary DOs.
Was this page helpful?