[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: thandy repository mirrorability
- To: or-dev@xxxxxxxxxxxxx, Peter Palfrader <peter@xxxxxxxxxxxxx>
- Subject: Re: thandy repository mirrorability
- From: coderman <coderman@xxxxxxxxx>
- Date: Wed, 4 Aug 2010 18:16:21 -0700
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: or-dev-outgoing@xxxxxxxx
- Delivered-to: or-dev@xxxxxxxx
- Delivery-date: Wed, 04 Aug 2010 21:16:27 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=DZ6UHnL4nLpXWDeq7ue80UiBq49QFFRWwq3ncIFeFIg=; b=NAMAfzGx9AfK/yaSCX0O8jM8efxg6KGasauABLKw85wxOvM7tKnAWJE2WTNzdo0Kwn wHrrZrd2LCN3ngvgGDFXvBYMC6f0zs1n2N0fDje6UT9d+6zeXuW5DVznVI1hGGkNzKoo 8ECpyCfZNA/hXyWQeQfxKEwRkagHDclfNcybA=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=A7qErg3or4EzbgwspccxmyWeEfx+b+grPEGNXixWnSSB6tmRBkYXQ2zqwwjW4KIxLt 3516FssQpdpoGkKTudFCuvtNkI+q1Fdzk+FGIY9onJYnT4/tYQ5Ssv+KcrI2pWynvWfm EK9mBgmsnDex07hutB8UlRQHw6cOhw2tK9MRY=
- In-reply-to: <20100804160342.GP27199@xxxxxxxxxxxxxxxxxxxx>
- References: <20100804160342.GP27199@xxxxxxxxxxxxxxxxxxxx>
- Reply-to: or-dev@xxxxxxxxxxxxx
- Sender: owner-or-dev@xxxxxxxxxxxxx
On Wed, Aug 4, 2010 at 9:03 AM, Peter Palfrader <peter@xxxxxxxxxxxxx> wrote:
> ...
> I've been wondering about mirrorability for when we start using thandy
> for real. That is, what happens when a user accesses a mirror that is
> in the process of updating its files.
> ...
> So, from a quick look at thandy and without knowing much about it, it
> appears as if thandy will suffer from much of the same problems. The
> timestamp.txt file looks like one that's particular problematic. Is
> this correct or is there some clever scheme that avoids the desync
> problems while a mirror update is in progress?
yes, this will have a similar issue. caveat being that at least one
repository has all the files needed, so the client will retry / resume
until success. (not always using a mirror like Debian)
this introduces other issues as one pet peeve of mine during the "use
Thandy as network installer" experiment was that an on-demand network
install would delay a while on failed attempts, while you really want
it to try again quick or bail out.
> Should we worry about this and try to see if we can come up with some
> clever schemes that mitigate or avoid the issue?
i am inclined to say ignore this unless it becomes a problem for these reasons:
- most Thandy clients will be doing background updates, and won't care
if they have to cycle to the next mirror because the current file is
incomplete or missing.
- the HTTP 1.1 resume capability in Thandy means even a partial file
can be useful, so avoiding these is not necessary and may actually be
counter-productive.
note that my understanding of Thandy is rusty, and out of date.
hopefully Nick or others will correct my misstatements :)