Bug#798989: Files seem to appear and disappear
On Mon, 14 Sep 2015, Chris Lamb wrote:
> $ while :; do curl -qs
> http://snapshot.debian.org/archive/debian/20150914T153145Z/pool/main/r/redis/redis_3.0.4-3.dsc
> | grep -qs '404 Not Found' && echo 200 || echo 404; done
>
> curl -I for a success is:
> HTTP/1.1 200 OK
> curl -I for a 404 is:
> HTTP/1.1 404 Not Found
> These files are quite new to the archive (~6h?) at the time of writing.
> (Load-balancer related?)
There is no load balancer, but snapshot.debian.org is a round-robin of
two hosts. Both have the file on disk:
On the sceondary:
| weasel@lw02:/storage/snapshot-farm-2/52/a8$ ls -lart 52a8b3ba37fee9e3161e8ab317d18b582e20e8ee -c
| -rw-r--r-- 1 snapshot snapshot 1961 Sep 14 16:29 52a8b3ba37fee9e3161e8ab317d18b582e20e8ee
and you can get it via http://snapshot.debian.org/file/52a8b3ba37fee9e3161e8ab317d18b582e20e8ee
but the database is out of sync:
| weasel@defiant:~$ wget http://snapshot-sibelius.debian.org/project/trace/snapshot-master.debian.org -O - -q
| Mon Sep 14 15:31:45 2015
| # Above timestamp is timestamp of latest mirrrorrun
| weasel@defiant:~$ wget http://snapshot-lw07.debian.org/project/trace/snapshot-master.debian.org -O - -q
| Mon Sep 14 03:14:10 2015
| # Above timestamp is timestamp of latest mirrrorrun
Investigating.
--
| .''`. ** Debian **
Peter Palfrader | : :' : The universal
https://www.palfrader.org/ | `. `' Operating System
| `- https://www.debian.org/
Reply to: