Open gaitskell opened 1 month ago
Looks like I might have misunderstood one of the parameters or just copied some code I did not need.
I had a condition that did not allow overwriting existing files in the GCP Object Storage. The file is already uploaded, but the indi-allsky DB did not record it (possibly due to the other issue you posted), so it was re-trying the upload, but the condition did not allow it to overwrite.
Merged #1430 to remove the condition preventing overwrites.
This is a very minor issue since it affects very few files/operations but it may offer insights elsewhere?
The ./misc/upload_sync.py sync command works well - thank you.
However, at the tail end of the syncrhonization, or if I ctl-C and start again the last few files cause the following error shown below. (I am not sure what causes the Precondition Failed error ... ('Request failed with status code', 412, 'Expected one of', <HTTPStatus.OK: 200>).
Is this something that can be trapped? I can't work out what the specifc error is -