[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: handling rollbacks in 4.0.3 and 4.0.4



On Thu, May 02, 2002 at 10:00:16AM -0400, Peter Chen wrote:
> On Thu, 2002-05-02 at 09:30, Jeff Johnson wrote:
> > No, the all-or-nothing behavior is part of transaction set handling.
> 
> Ahh... I stand corrected.
> 
> So does this mean in 4.0.3, when one attempts to upgrade a bunch of
> rpm's all within one transaction, he is guaranteed to have either all of
> them succeed or none of them will be installed?

Yup. Odd pathologies like hardware errors while installing files
are not handled as gracefully as possible because there's no way to
precompute the condition. Even in the odd case, the failing package (which
now renames temp files into place) is backed out, any paired removal
of the old packaghe on upgrade is skipped, and the transaction is
terminated in the middle.

73 de Jeff

-- 
Jeff Johnson	ARS N3NPQ
jbj@redhat.com (jbj@jbj.org)
Chapel Hill, NC





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []