Subject: | Loosing CPAN index files after a while |
We are using rrr-client to mirror CPAN. This works pretty well, but after some months we end up in
a situation where we loose various files under indicies/, like the indices/find-ls.gz file that we
depened on to process our PPM builds.
Last time this happened (in September) I ended up "fixing" it by just removing the 'recent-rmirror-
state.yml' file and restarting the rrr-client. I would like to find a more permanent fix this time :-)
Any tips for things I could try?
I find entries for find-ls.gz in the state file that seems to indicate that the file is to be unlinked.
# grep -C10 find-ls recent-rmirror-state.yml
time: '1326013067.28878'
-
-__verified_tempdir: /data/cpan
-_current_tempfile: /data/cpan/.FRMRecent-RECENT-6h.json-3fgR.json
-_delayed_operations:
rmdir: {}
unlink:
/data/cpan/indices/RECENT-print: 1
/data/cpan/indices/du-k.gz: 1
/data/cpan/indices/find-ls.gz: 1
/data/cpan/indices/ls-lR.gz: 1
/data/cpan/modules/by-category/05_Networking_Devices_IPC/Net/Net-IMAP-Simple-
1.2027.tar.gz: 1
/data/cpan/modules/by-category/05_Networking_Devices_IPC/NetAddr/NetAddr-IP-
4.046.tar.gz: 1
-_done: !!perl/hash:File::Rsync::Mirror::Recentfile::Done
-__intervals:
-
- '1326013067.28851'
- '1324307401.22927'
-
- '1326012587.0379'
I saw similar entries last time.