Sorting the files to be archived - this could take a few minutes (Gross Understatement) #40
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
zadammac/Tapestry#40
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?
Describe the bug
[This was thought solved, then reinvented in 2.2.1]
This step takes a very long time because of the need to generate a hash for each individual file. We need to put some thought into either fixing the look and feel or fixing the performance.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Log/Console Output
Where possible, add the output of the Logs or Console when the problem occurs.
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
This is actually not a performance issue at all, this is a breaker, and will update the above accordingly.
If any of the files to be backed up exceed the configured block size limit, the program will hang indefinitely inside of
unix_build_blocksbecause thesizeslist never reaches a length of 0. This happens entirely silently because the step involved does not make any status prints.Also debug is broken. I think we have to dust off this project and release a new vision that adresses those two concerns.
I would like to get that done this week.
Corrected by
46e8c0b.The issue was, in fact, that size 0 files were not being correctly handled, and thus block 1 was never being marked as "full". This also caused issues because the list
sizeswas being modified in real time. I changed the logic so that we'd only remove the items which were placed from thesizeslist after it has been iterated over fully.Validated those commits by running a full backup on my actual machine, since the current test suite would not have caught these issues.