Skip to content
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

Direct upload progress bar jumps around with many files #8730

Closed
qqmyers opened this issue May 23, 2022 · 0 comments · Fixed by #8962
Closed

Direct upload progress bar jumps around with many files #8730

qqmyers opened this issue May 23, 2022 · 0 comments · Fixed by #8962
Milestone

Comments

@qqmyers
Copy link
Member

qqmyers commented May 23, 2022

What steps does it take to reproduce the issue? Uploading many files that take a while to upload and for hashes to be calculated, one can see the progress bar jump around.

**Which version of Dataverse are you using?**5.10.1

The root cause is that the code calculating the md5 hash an uploaded file is updating all progress bars instead of just it's own. This is only a problem when the bar is > 50% (the first half of the bar is the upload time, the second half is when the file is being read to calculate the local hash). It is only the hashing progress that is updating all bars instead of its own. Other bars <50% get reset whenever their thread updates the upload progress. If there is more than one file in the hash calculation stage, all bars will bounce to the progress for whichever file reports, so bars can go up/down repeatedly.

The problem is in

which should be finding the right progress bar and not just updating all bars. I haven't yet tried it but presumably the code used elsewhere to find the current file's row/bar would work here as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants