New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: resume an interrupted xmlupload (DEV-3323) #853
Conversation
…st not lead to _handle_upload_error()
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the file: src/dsp_tools/commands/xmlupload/resource_create_client.py
line: 48.
What happens if the post is already done but we do not have the answer from the server yet but it is a sucessful upload?
If there is no interrupted upload to finish i get a non-200 error, which it retries... that is for a future PR but we should keep in mind to clean that up.
Bad news: The number of triples in the db is not the same after an interrupted upload than a normal one:
- Regular xmlupload project systematic: 3735
- Test 1: Interrupted 2 times: 3763
- Test 2: interrupted 1 times: 3766
Both interruptions were not during the stash upload.
I have not done more precise investigations what happened, but clearly something is wrong.
Thanks a lot for your valuable feedback. We noted these points and created a follow-up ticket: https://linear.app/dasch/issue/DEV-3392/tidy-up-resume-xmlupload-follow-up |
No description provided.