-
Notifications
You must be signed in to change notification settings - Fork 24
Add btree Node to the dirty buf list to keep the counter alive in the… #690
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
Conversation
|
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #690 +/- ##
===========================================
+ Coverage 56.51% 66.73% +10.22%
===========================================
Files 108 109 +1
Lines 10300 11499 +1199
Branches 1402 1572 +170
===========================================
+ Hits 5821 7674 +1853
+ Misses 3894 3074 -820
- Partials 585 751 +166 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
e85dbaf to
552aae6
Compare
552aae6 to
80c59c3
Compare
80c59c3 to
fd9a9fa
Compare
… btree node from cache
fd9a9fa to
a633946
Compare
shosseinimotlagh
left a comment
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.
how did test validate if the eviction functionality is as expected, (so only evict the clean ones)? number of eviction and/or number of objects in the cache.
Also is it needed to validate it in case of concurrency?
| cache_min_throttle_cnt : uint32 = 4; // writeback cache min q deoth | ||
| cache_min_throttle_cnt : uint32 = 4; // writeback cache min q depth | ||
|
|
||
| cache_hashmap_nbuckets : uint32 = 1000000; // num buckets for sisl::SimpleHashmap used in wbcache |
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.
We have similar parameters in Table Cache. Can't we use it and remove it from here?
I asked same question in the NuObject standup, can we tune down the cache size to force all our Index related testing(at least long running) go through the eviction path? |
… lru cache