Closed plicease closed 6 years ago
The primary should return 200 when the file is duplicated on both primary and stashed.
See code Yars::Routes#_head
Given a list of directories that have bad uploads.
perl -E 'system "yarsclient", "upload", $_ for @ARGV' `perl -E 'while(<STDIN>) { chomp; say "$_/*" }'
When a file is on the correct server and duplicated as a stash on a secondary server, HEAD request to the primary will actually return a 307 to the secondary server. This makes it impossible to determine if a file has been duplicated, via the API.