Ticket #5 (new enhancement)
merge time binary-rollback feature
| Reported by: | ferringb | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | merge | Version: | |
| Keywords: | vdb transactional functionality | Cc: |
Description
short version: add two triggers stacked/ordered immediately before and after merge_contents/unmerge_contents 1) hardlink nondir fs entries from install_existing cset to .backup-merge.$(basename $obj) in the same dir 2) post merge/unmerge, remove the created hardlinks.
What this enables is that in worst case for a failure in merging (exploding trigger, faulty pkgcore code, etc), it can do a rollback to the previous on disk image. preinst still has fired, but shouldn't have done anything to break anything (key word is shouldn't have).
Change History
Note: See
TracTickets for help on using
tickets.
