You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Scenario: A user clicks download on a bunch of videos. In between, she pauses some of the video downloads, and then goes back and restarts. Trying this a few times, it looks like there is something that causes the video to show downloading, but there is no activity on the network tab and the service worker Storage > IndexedDB > VideoID shows done:false for a long time.
Expected Behaviour
Loading up the service worker to do multiple downloads should not result in a frozen state where one of the downloads does not complete.
@kkalarickal I'm not able to reproduce this issue. Are you sure you weren't viewing stale data in the database?
Every VideoDownload instance is independent and there shouldn't be any global state that would interfere with its operation. In other words – concurrent downloads of many files will be limited by bandwidth, but the download progress bars should be unaffected, the data should be downloaded and stored in IDB properly.
It would be useful to try to pinpoint more detailed information about under which conditions the downloads fail.
Yes. I will dig a bit deeper to come up with a consistent way to recreate this. Thank you for the tip about removing stale data and setting the expectation that download instances are independent and should not interfere with each other as long as bandwidth is available. I will work on this a bit more and then report back.
Bug Description
Scenario: A user clicks download on a bunch of videos. In between, she pauses some of the video downloads, and then goes back and restarts. Trying this a few times, it looks like there is something that causes the video to show downloading, but there is no activity on the network tab and the service worker Storage > IndexedDB > VideoID shows done:false for a long time.
Expected Behaviour
Loading up the service worker to do multiple downloads should not result in a frozen state where one of the downloads does not complete.
Steps to reproduce
Screenshots
Screencast showing long download stuck after pause+restart: https://share.getcloudapp.com/v1uN7mnE
Additional context
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
Implementation brief
QA testing instructions
Demo
Changelog entry
The text was updated successfully, but these errors were encountered: