-
Notifications
You must be signed in to change notification settings - Fork 925
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(share/store/cache): Split accessor cache into recent and blockstore #2656
feat(share/store/cache): Split accessor cache into recent and blockstore #2656
Conversation
- update metrics - fix tests
# Conflicts: # share/eds/blockstore.go # share/eds/store.go
- fix merge conflicts
# Conflicts: # share/eds/metrics.go
# Conflicts: # share/eds/accessor_cache.go # share/eds/metrics.go # share/eds/store.go
8b657c1
to
04d7c6c
Compare
# Conflicts: # share/eds/blockstore.go # share/eds/cache/accessor_cache.go # share/eds/cache/accessor_cache_test.go # share/eds/cache/cache.go # share/eds/cache/metrics.go # share/eds/store.go # share/eds/store_test.go # share/eds/utils.go # share/p2p/shrexeds/server.go
a6fd8bf
to
0f66f2d
Compare
0f66f2d
to
95e1fa8
Compare
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.
lets call the file doublecache too
Codecov Report
@@ Coverage Diff @@
## main #2656 +/- ##
==========================================
- Coverage 51.55% 51.48% -0.08%
==========================================
Files 162 163 +1
Lines 10755 10784 +29
==========================================
+ Hits 5545 5552 +7
- Misses 4729 4751 +22
Partials 481 481
|
Should we robusta test this before we merge into main? |
I would rather run tests once all cache relateed PRs are merged. There are 2 more left, but they are relatedly simple |
@walldiss then we should cut an RC once you get the next 2 up |
…ore (celestiaorg#2656) Adds MultiCache. Replaces eds store cache with multicache containing 2 separate caches: - recently added edses (10 accessors, added on put only) - edses requested by ipld (128 accessors, added on request to blockstore from bitswap server)
Adds MultiCache. Replaces eds store cache with multicache containing 2 separate caches: