Closed elithrar closed 4 years ago
Recently changes to the index to add information about the number of stars of repositories were introduced but the index itself hasn't been regenerated yet, so using the pga
command should fail. Here is a PR to fix that and add compatibility between index versions #104 .
Anyway this problem doesn't seem to be related to it but I cannot reproduce it, maybe some HTTP issue involving GCP firewall configuration?
pga version: eb71a82 Go version: 1.11.5 linux/amd64
Problem: Seeing corrupted files when the pga tool is attempting to rename temporary files. The tool also appears to hang - after ~10 hours, it's only 1.87% complete (467/24928; 75.5GiB) on a 8-core VM in GCP with a 16Gbps NIC.
I'm wondering if this is a subtle race condition due to the way temporary files are named as
name + ".tmp"
with multiple workers?