commit | 5298593b1baa45e496ce4b419782fb9c1d5baed7 | [log] [tgz] |
---|---|---|
author | Daniel Rosenberg <drosen@google.com> | Fri Mar 01 22:01:22 2019 -0800 |
committer | Daniel Rosenberg <drosen@google.com> | Thu Mar 07 13:58:49 2019 -0800 |
tree | 186172c764329f19a36652e8f937ea825cb04466 | |
parent | dda598103d84276d14aa73951857aa5c43185e3e [diff] |
Make Checkpoint restore resume safe This allows us to resume rolling back in the event of an unexpected shutdown during the restore process. We save progress after we process each log sector, and whenever restarting the current log sector would result in invalid data. Test: Run restore, interrupt it, and attempt to resume Change-Id: I91cf0defb0d22fc5afdb9debc2963c956e9e171c