acorn icon indicating copy to clipboard operation
acorn copied to clipboard

When migrations go wrong there should be an option to roll back to your prior state?

Open Connoropolous opened this issue 2 years ago • 2 comments
trafficstars

Connoropolous avatar Jul 04 '23 19:07 Connoropolous

cc @zippy will try to tackle on this this month

Connoropolous avatar Jul 04 '23 19:07 Connoropolous

another way to approach this is to say that the whole migration should be: step 1: prepared step 2: committed

If anything goes wrong during the preparation that's fine. Eject.

Make step 2 one holistic update that either succeeds or fails all at once, so that it's atomic. And then again, if anything goes wrong, it just safely ejects.

Connoropolous avatar Aug 10 '23 00:08 Connoropolous