Bug 360554 - Cache / Save Pending Operations on Error
Summary: Cache / Save Pending Operations on Error
Status: RESOLVED INTENTIONAL
Alias: None
Product: partitionmanager
Classification: Applications
Component: general (show other bugs)
Version: 2.0.1
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Andrius Štikonas
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2016-03-15 11:51 UTC by Richard Llom
Modified: 2016-05-18 13:26 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Llom 2016-03-15 11:51:24 UTC
When during the operation an error occures, the whole (pending) operations list is cleared.

This is annoying and unneeded, because if there is an actual mistake with the choice of operations it can still be cleared by hand. However when only a small mistake triggered the error (I had a mount point open), one has to redo all the steps, although a simple unmount fixes the error.

Therefore I propose to keep the list of pending operations after an error occured - on a succesfull run the list should still be cleared.
Comment 1 Andrius Štikonas 2016-05-18 13:26:34 UTC
I don't think there is any easy way to do that. Please suggest if there is.

After the error happens we must rescan existing partitions, otherwise data corruption might happen.

And rescaning involves removing all operations from operations stack, the same happens even if you refresh before applying operations.