Mailinglist Archive: zypp-devel (116 mails)

< Previous Next >
Re: [zypp-devel] ZYpp lock - where don't we want it?
  • From: Duncan Mac-Vicar <dmacvicar@xxxxxxx>
  • Date: Tue, 12 Jun 2007 22:01:10 +0200
  • Message-id: <200706122201.10489.dmacvicar@xxxxxxx>
On Tuesday 12 June 2007 17:08, Klaus Kaempf wrote:
> * Jan Kupec <jkupec@xxxxxxx> [Jun 12. 2007 16:38]:
> > Where we don't want a zypp lock?
>
> We should remove the global zypp lock alltogether and
> move to more fine grained locks based on state changes.
>
> Currently I see the following state changes
> - repo added / removed
> - cache changed (due to repo add/remove/update)
> - system changed (transaction in progress)
>
> For example, a transaction must only locks those repositories
> which are part of the transaction. But I don't see the need
> to lock the metadata cache during a package transaction.
>
> Maybe I'm too optimistic here ...

Yes, as sqlite manages most of the locking itself it will be easier to remove 
the lock. But I don't think it is a 10.3 goal.

-- 
Duncan Mac-Vicar Prett  
Novell :: SUSE R&D, Maxfeldstr. 5, 90409 Nürnberg
GF: Markus Rex, HRB 16746 (AG Nürnberg)
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx

< Previous Next >
References