Add progress logging to claimtrie loading and validation. #408
No reviewers
Labels
No labels
area: devops
area: discovery
area: docs
area: livestream
area: proposal
consider soon
Epic
good first issue
hacktoberfest
hard fork
help wanted
icebox
Invalid
level: 0
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
resilience
soft fork
Tom's Wishlist
type: bug
type: discussion
type: improvement
type: new feature
type: refactor
type: task
type: testing
unplanned
work in progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: LBRYCommunity/lbrycrd#408
Loading…
Reference in a new issue
No description provided.
Delete branch "pseudoscalar/issue/363"
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?
To resolve 363
This pre-count loop could be very expensive, as the disk cache won't be warm. How long is this loop taking compared to the lower loop?
I was seeing 1-3 seconds in the precount loop vs ~2 minutes for the lower loop.
Sorry, I should clarify. ~2 minutes for the whole load from disk. It was split pretty evenly between the 2 lower loops (so ~1 minute each). That's why I decided to do a precount loop: counting the total in the first lower loop would leave the operation already half done (time-wise). I couldn't see another way to estimate progress, and the added time seemed negligible next to the main operation.
Did you want me to find a way to eliminate the precount, or is this good?
Have you looked at adding the progress notifiers to the v17_master and v19_master branches?
I haven't yet. I start putting together some PRs for those.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.