Past download failures stuck at 0%, can't download/delete #464
Labels
No labels
android: closed alpha
android: open beta
app-parity
area: devops
area: discovery
area: docs
area: livestream
area: proposal
consider soon
creator
Epic
good first issue
hacktoberfest
help wanted
icebox
Invalid
level: 1
level: 2
level: 3
level: 4
needs: exploration
needs: grooming
needs: priority
needs: repro
needs: tech design
on hold
priority: blocker
priority: high
priority: low
priority: medium
product review
resilience
Tom's Wishlist
type: bug
type: discussion
type: improvement
type: new feature
type: refactor
type: task
type: testing
unplanned
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: LBRYCommunity/lbry-android#464
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The Issue
This one may be tricky to reproduce, but if you had a download fail (not sure if it got sd blob, or nothing at all), and then go back into the claim page (not sure if before/after a restart), the thumb will show 0% and not download. There will be no download/delete buttons. The items will show in the downloads progress page as with no progress.
If the sd blob fails, there should not be any file list entry. Maybe this happens when a download gets stuck and then the app is closed? Not sure yet...can try to reproduce.
System Configuration
Anything Else
Screenshots
Internal Use
Acceptance Criteria
Definition of Done
@akinwale , this will happen for any case where the sdblob was downloaded but the rest of the file was not. The reason we save the sdblob + file record is in case it was a paid download...otherwise the user would have to pay for it again. A few users outside the US have been running into download issues, so I think this is occurring fairly frequently.
Ah, this makes sense. I suppose the sdk could have a flag in the file record which should keep track of cases where the download fails and needs to be retried / restarted?
Below is what a file list entry looks like in this case - it would be in completed = false status, with no path. If the path is blank, we should allow users to call get again (this is also the case where if someone moved the file, calling get would result in re-creation from data blobs / redownloading). The connection manager (to be implemented) may handle this scenario in the future, but I think we should give users an option to call get for now. I'm not sure if a separate flag is needed...
@akinwale actually, just spoke to Jack and this will be changing in a future verison - get will not return unless both sd + headblob is downloaded.