5 ms·
That's lucky. Was your service down for the entire time until the data was recovered?
by mrep 9y ago
That's lucky. Was your service down for the entire time until the data was recovered?
- sudhirj 9y agoWe moved to a new DB as a clean slate, took fresh orders, and then merged the old ones in as they became available. Was able to do that because all primary keys were uuids and the order history API was being served somewhere else.
- mrep 9y agoHow did you handle other tables like users and sessions?
- sudhirj 9y agoThis microservice didn't have them, but even they're all keyed by UUID, so it's possible to start a clean slate pretty fast. Filling in existing users later should also be easy, the problems will occur if and when users try to sign up again with the same key (email / FBid etc).