🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
1 messages
1 total messages Started by Philipp Kern Sun, 22 Nov 2026 15:30
Bug#979115: snapshot.debian.org: please only update the list of available timestamps after the sync is complete
#5559
Author: Philipp Kern
Date: Sun, 22 Nov 2026 15:30
28 lines
3129 bytes
On Sat, Jan 02, 2021 at 11:06:57PM +0100, Johannes 'josch' Schauer wrote:
> for the newest timestamp that one can find via
> http://snapshot.debian.org/archive/debian/ it can happen that some of
> the files in it return a 404. Maybe new timestamps are added to the web
> interface before the download of all content is complete?
> 
> The webinterface should only show new timestamps once all their content
> is completely available for download.

At the time I took over this was already intended to be solved by
internal redirection logic. I think it was actually broken but as far as
I can it should work now: When a tree has been synced to the database,
it's immediately available to all hosts - even though the
content-addressable tree has not been synced yet, through DB
replication. If the local file does not exist, the other hosts will
transparently proxy to the primary machine. This requires the primary
machine to be available for serving.

We have a ton of scraping load on the hostname-based Apache vhosts,
which are used for this. So I had to block direct access. /file/ is
exempted from the blocks. As long as the primary is up, this should
thus work.

What we are missing is an integration test for this to ensure that it
keeps working.

Kind regards
Philipp Kern
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads