Re: [arch-general] Question about repository updates and atomicity

2013-08-18 Thread Johannes Ernst
On Aug 17, 2013, at 0:06, Jan Alexander Steffens wrote: > Server-side, the developer stages several packages and then triggers a > db-update. > > A new database is built and the old database file is replaced. What happens if that occurs during an rsync? Or is that prevented from happening? Si

Re: [arch-general] Question about repository updates and atomicity

2013-08-16 Thread Johannes Ernst
On Aug 15, 2013, at 2:05, Allan McRae wrote: >> Question: what mechanisms exists, if any, to avoid that the user gets the >> old version of package A and the new version of package B? (assume the >> rsync is still ongoing while the download occurs) > > The database file will either have both ne

[arch-general] Question about repository updates and atomicity

2013-08-15 Thread Johannes Ernst
I'm trying to understand what may and may not go wrong between package uploads to a repository, repository synchronization via rsync (which seems to be the preferred method for mirrors to get their stuff) and downloads via pacman. Assume a developer uploads a new version of two packages to a repos