-
Notifications
You must be signed in to change notification settings - Fork 663
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
feat: improved shard cache #7429
Merged
Merged
Changes from all commits
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
3f35f27
Introduce Storage Metrics for Prometheus
firatNEAR 9aa35a7
new shard cache
Looogarithm a1e4a62
minor fix
Looogarithm 8080aa3
Fix estimator
firatNEAR adf8034
warning fixes
Looogarithm a139dec
separate deletions queue struct, fix push bug
Looogarithm 158db1a
bounded queue tests
Looogarithm 8534a85
fix pub
Looogarithm bf9b814
move const
Looogarithm 0451f05
move const
Looogarithm 2e53081
move const
Looogarithm 9cd170c
cache size limit
Looogarithm 81f6648
synctriecache test
Looogarithm 01db7a9
synctriecache test
Looogarithm 2258f8d
test deletions queue removal
Looogarithm 54171d7
test cache capacity
Looogarithm 520fee9
Merge branch 'master' into smart-cache-1
Longarithm 2b7f7bf
Fix comments
firatNEAR f1ced93
Merge branch 'feat/add_storage_metrics' into smart-cache-1
Looogarithm 9e3108b
temporary fixes
Looogarithm e41e0c6
fix capacity for view cache
Looogarithm 381f5f9
add new metrics
Looogarithm 5de3996
add default capacities
Looogarithm 27ef6ac
size limit
Looogarithm aa4df83
continue
Looogarithm 14028bf
fix labels
Looogarithm d43a90a
Merge branch 'master' into smart-cache-1
Longarithm 3c6b38a
fix capacity
Looogarithm 434f6fc
Merge branch 'smart-cache-1' of github.com:near/nearcore into smart-c…
Looogarithm ce4c842
Add total_size metric
firatNEAR b2bec9a
Merge branch 'master' into smart-cache-1
firatNEAR 474af0a
Fix mutex lock
firatNEAR ae1db75
Merge branch 'smart-cache-1' of github.com:near/nearcore into smart-c…
firatNEAR 2dd713e
move deletions_into call to commit
Looogarithm 4f8ad9c
add log_assert
Looogarithm b558989
size assertion
Looogarithm 5eeca03
fix log_assert and metrics
Looogarithm 7cb42ec
comments
Looogarithm 1241305
fix assertion
Looogarithm bb75f49
Merge branch 'master' into smart-cache-1
Longarithm 824dfee
put deletions to separate store update
Looogarithm bc37898
Merge branch 'smart-cache-1' of github.com:near/nearcore into smart-c…
Looogarithm 3c31f7c
update changelog
Looogarithm 95cd339
Merge branch 'master' into smart-cache-1
Longarithm 470a063
mention ram in changelog
Looogarithm 5666a84
4 -> 3
Looogarithm 40f5914
Merge branch 'master' into smart-cache-1
Longarithm File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is another quite questionable bit of code, we should think about how to make this clearer in a follow-up